.htaccess
|
2 posts
|
Hi all, http://www.madebyfrog.com/docs/how-to/remove-the-question-mark-from-the-url.html I changed the Rewrite base from RewriteBase /frog/ to RewriteBase / because I have Frog installed in my root domain at www.cormacmoylan.com However, when I change the file name of the htaccess file and alter the config.php to true I get an Internal Server Error I’m not sure why this happens as I had permalinks enabled with Wordpress so I doubt it’s an apache issue but I’m not sure. Any ideas? |
|
76 posts
|
Hi cormac The 500 Internal Server Error can happen due to certain incompatible entries in your .htaccess file. Are you able to post the contents of yours here for us to look at? |
|
2 posts
|
Hi Craig, sure. This is the htaccess file that causes the error: php_flag magic_quotes_gpc off <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l RewriteRule ^admin(.*)$ admin/index.php?$1 [L,QSA] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l RewriteRule ^(.*)$ index.php?PAGE=$1 [L,QSA]</IfModule> |
|
76 posts
|
Try removing (or just commenting-out, with a # symbol) the first line – the php_flag… bit, and see if that makes a difference. If it’s a Unix/Linux server, sometimes they require the .htaccess file has appropriate permissions applied – usually ‘755’, or rwxr-xr-x. Something else to check too :) |
|
2 posts
|
That’s great Craig. Thanks a lot. |
|
10 posts
|
I didn’t want to open a new topic for this question but. I’m running MAMP on OSX 10.5 when I try to remove to _ before the _.htacces it won’t let me anyone got an idea how to do this? |
|
1493 posts
|
Hi jeca – you could try making a new file called |
|
48 posts
|
you can do that easily from the terminal.
Probably is something easy like here. Google it! |
|
76 posts
|
On a Mac, you would probably do this: |
|
10 posts
|
thx craig it worked, just had to set write a command to set my invisble files to visible. & use the rewrite command! |
|
18 posts
|
Tx Craig What does this line normally do? |
|
1 posts
|
Aug 27, 2009 15:24 Try removing (or just commenting-out, with a # symbol) the first line – the php_flag… bit, and see if that makes a difference. If it’s a Unix/Linux server, sometimes they require the .htaccess file has appropriate permissions applied – usually ‘755’, or rwxr-xr-x. Something else to check too :) ————————————————————————- How if the both suggestions not working? |