Jump to content

Archived

This topic is now archived and is closed to further replies.

rossh

Check if i can use mod_write

Recommended Posts

Hi i wanted to know if i can use mod_rewrite on my server.  The site i maintain is in a subdirectory on the server and when i tried to use the following code in .htaccess it gave me a 500 internal server error

RewriteEngine on
RewriteRule !\.(gif|jpg|png|css)$ /your_web_root/index.php

Are there any pitfall from the admin giving me access to mod_rewite?

Thanks

Ross

Share this post


Link to post
Share on other sites
I can see in php.ini that mod_rewrite is lodaded under the section, Loaded Modules

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.