.htacess help

Problems with the Windows version of XAMPP, questions, comments, and anything related.

.htacess help

Postby jackrose » 07. November 2008 20:37

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]
jackrose
 
Posts: 3
Joined: 28. October 2008 16:06

Postby Sharley » 07. November 2008 21:12

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.
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Postby jackrose » 08. November 2008 14:06

[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
jackrose
 
Posts: 3
Joined: 28. October 2008 16:06

Postby Sharley » 08. November 2008 22:59

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.
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

thanks

Postby jackrose » 10. November 2008 12:40

thanks working fine
jackrose
 
Posts: 3
Joined: 28. October 2008 16:06


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 43 guests