Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Skydiver on October 13, 2004, 01:38:35 PM
-
Details: SME is the latest version and all ibays and internet services are working fine.
Problem: Server is hosting a few phpnuke sites and i have been requested to make mod_rewrite work, this enabling index.php to display or rewriten as index.html
Im using a tool to test if mod rewrite is running and enabled, this tool is supplied by GT Nextgen it tells me the module is not installed or is not configured correctly.
I am wondering if anyone has any idea what i maybe doing wrong. I have searched back for sometime but have not found a thread with the answer i need.
I'm thinking maybe its a setting within httpd.conf or the .htaccess file but i'm guessing.
Thanks
Greg
-
.. follow this info to check your config:
http://www.tutorio.com/tutorial/enable-mod-rewrite-on-apache
the httpd.conf file is in /etc/httpd/conf
The page above provides a test mechanism as well.
If you need to change anything make sure you do it via the templates or the change will be lost on reboot.
HTH
-
Thanks for the site info. I completed as the site stated and tested and mod rewrite is now enabled and working. As you said, without changing the templete every restart the system goes back to org settings. I have looked through the templetes and cant find where i change it. Could you please dirrect me to a section on templates or the actual template i need to change. thanks.
-
Found the answer in Documents located on this site. All is working and Fine. Thanks for your help and providing the information for a fast fix for this issue.. cheers
-
Is there any other way to test if mod_rewrite is working? The test listed on that site basically said to create a new directory, and drop the htaccess file into that directory.
Sadly I have mod_index installed so all my directorys list regardless if there is content in it or not.
For instance, I created a simple rewrite rule on an ibay:
Options +FollowSymLinks
RewriteEngine on
#
RewriteRule ^/foo.php /test/
But when I go to the ibay, it says foo.php does not exist. Mod_Rewrite was working quite happily untiled I upgraded Horde to v.3 a few days ago. Have no idea why that would break it.
Any ideas??
Geoffrey