Welcome Guest. Please Login or Register  


You are here: Index > Webuzo > General Support > Topic : Problem with mod_rewrite on Apache



Normal Mode | Print  

 Problem with mod_rewrite on Apache, .htaccess file causes a 500 server error just by being present (3 Replies, Read 39023 times)
mscheyndel
Group: Member
Post Group: Newbie
Posts: 2
Status:
Hi

I'm having an issue I'm not sure how to easily fix. The website I'm porting into Webuzo requires mod_rewrite. Whenever I drop a .htaccess file into the directory, it causes the server to stop serving all content and produce a 500 error. I've traced the problem to the following rules:
-------------------------------------------------
RewriteEngine on
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteRule ^([a-zA-Z0-9_-]+)$ index.php?r=$1 [L]
---------------------------------------------------

I'm wondering if it's because mod_rewrite is not enabled, but I haven't been able to figure out where to go to check/enable this.

Any assistance would be greatly appreciated!

Martin,
IP: --   


Threads
 mscheyndel   Problem with mod_rewrite on Apache, .htaccess file causes a 500 server error just by being present (3 Replies, Read 39023 times)
    |--  Surajyadav13   Hi, Sir apache...   on June 27, 2024, 1:23 am
    |--  Surajyadav13   Sir if the...   on June 27, 2024, 1:33 am
    |--  mscheyndel   All taken care...   on June 28, 2024, 12:09 am

« Previous    Next »

Normal Mode | Print  



Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is July 15, 2025, 1:53 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.013