Welcome Guest, Not a member yet? Register   Sign In
My .htaccess file doesn't work
#1

[eluser]Keloo[/eluser]
I'm trying to get rid of the index.php so I'm using an .htaccess file with the following code in it :
Code:
RewriteEngine On
RewriteBase /mySite
RewriteCond %{REQUEST_URI} ^system.*
RewriteRule ^(.*)$ /index.php/$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
... but it's not working, I've tried different .htaccess files, and nothing.
If I save it as a txt the browser says "Oops! This link appears to be broken", and if I save it as .HTACCESS file, I get an error from the apache server:
Quote:Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
So how can I use a .htaccess file ? I hope someone can help.
#2

[eluser]toopay[/eluser]
do a SEARCH! There are alot similar threads, which had been solved.

In addition, setting up your environment at the first place will helped you avoid more problems. This thread should help you to do that.




Theme © iAndrew 2016 - Forum software by © MyBB