• The Forums are now open to new registrations, adverts are also being de-tuned.

apache

A

Ashley

Guest
I am trying to enable mod rewrite in apache.
  1. Found the httpd.conf file
  2. Inside the httpd.conf file uncomment the line LoadModule rewrite_module modules/mod_rewrite.so
  3. Also found the line ClearModuleList is uncommented then find and make sure that the line AddModule mod_rewrite.c is not commented out.
Then restarted Apache and got this.

This is what happens when you attempt to restart apache with that line uncommented.

PHP:
Syntax error on line 5 of /etc/apache2/httpd.conf:
Cannot load /usr/lib/apache2/modules/mod_placeholder.so into server: /usr/lib/apache2/modules/mod_placeholder.so: cannot open shared object file:


I have commented it out and restarted for the moment. Anyone have any thoughts.
 
Last edited by a moderator:
Read the title and here was me thinking Cowboys and Indians :D Knowing Ash I thought he was going to wind us up again :rolleyes:
 
zooman said:
wheres flyer when you need him
:D Sorry Ash, my thing is IIS (ColdFusion and ASP.NET). Don't know jack about Apache :) Hope you get it sorted ...
 
hits head against brick wall
 
We got it working in the end it was hard work and not fun.
 
Might be worth looking at the group/owner of the file.
If you're pretty sure of your own security, you could try giving it full permissions, by using 'chmod 777 filename'.
You can then lock the permissions down as necessary.
 

Users who are viewing this thread

Back
Top Bottom