Page 1 of 1

.htacess help

PostPosted: 07. November 2008 20:37
by jackrose
hai pls any one how to work .htacess file,in xampp,my script is .htacess,when is install its saying this [code]errorServer error!

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.

If you think this is a server error, please contact the webmaster.
Error 500[code]when i delte the htacess file,it install but some links are not work properly.so any pls give detail to work .htacess in xampp i installed latest version also[/code]

PostPosted: 07. November 2008 21:12
by Sharley
Read the error log file .\xampp\apache\logs\error.log, it will give you more details about what may be an issue in your .htaccess file.

PostPosted: 08. November 2008 14:06
by jackrose
[Sun Nov 09 00:26:57 2008] [alert] [client 127.0.0.1] C:/xampp/htdocs/movie/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
showing this eror what to do

PostPosted: 08. November 2008 22:59
by Sharley
Open in your text editor .\xampp\apache\conf\httpd.conf file and find this line:
#LoadModule rewrite_module modules/mod_rewrite.so

Remove the comment # so the line looks like this:
LoadModule rewrite_module modules/mod_rewrite.so

Save the file then restart Apache.

Try your site again.

thanks

PostPosted: 10. November 2008 12:40
by jackrose
thanks working fine