Hi
Here's my setup:
WHM 11.30.3 (build 4)
CENTOS 5.6 x86_64 standard
The problem is it appears mod_rewrite is not enabled which I badly need for an ecommerce store:
I have added the following to httpd.conf:
When I go to WHM>Restart Apache and click Yes to restart Apache, I get the following error:
There appears to be no 'Rewrite' module which can be built with EasyUpdate, presumably this option has been deprecated since I last installed this module a few months ago on an older version of cPanel.
Can anyone offer any pointers as to why this isn't working?
Thanks
Here's my setup:
WHM 11.30.3 (build 4)
CENTOS 5.6 x86_64 standard
The problem is it appears mod_rewrite is not enabled which I badly need for an ecommerce store:
Code:
http:// cupargardencentre . com/phptest.php
PHP:
LoadModule rewrite_module modules/mod_rewrite.so
AddModule mod_rewrite.c
It is quite evident adding these lines to httpd.conf breaks apache, because as soon as I remove them, I can restart apache and the sites work fine.Apache restart failed. Unable to load pid from pid file and no httpd process found in process list.
If apache restart reported success but it failed soon after, it may be caused by oddities with mod_ssl.
You should run /usr/local/cpanel/scripts/ssl_crt_status as part of your troubleshooting process. Pass it --help for more details.
Also be sure to examine apache's various log files.
Apache Restart Output:
Log:
[Sat Sep 10 18:34:15 2011] [notice] ModSecurity: PCRE compiled version="8.12"; loaded version="8.12 2011-01-15"
[Sat Sep 10 18:34:15 2011] [notice] ModSecurity: LIBXML compiled version="2.7.8"
[Sat Sep 10 18:34:16 2011] [notice] Apache/2.2.20 (Unix) mod_ssl/2.2.20 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 configured -- resuming normal operations
[Sat Sep 10 18:45:35 2011] [notice] caught SIGTERM, shutting down
[Sat Sep 10 18:45:37 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Sat Sep 10 18:45:37 2011] [notice] ModSecurity for Apache/2.6.0 (ModSecurity: Open Source Web Application Firewall) configured.
[Sat Sep 10 18:45:37 2011] [notice] ModSecurity: APR compiled version="1.4.5"; loaded version="1.4.5"
[Sat Sep 10 18:45:37 2011] [notice] ModSecurity: PCRE compiled version="8.12"; loaded version="8.12 2011-01-15"
[Sat Sep 10 18:45:37 2011] [notice] ModSecurity: LIBXML compiled version="2.7.8"
[Sat Sep 10 18:45:38 2011] [notice] Apache/2.2.20 (Unix) mod_ssl/2.2.20 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 configured -- resuming normal operations
[Sat Sep 10 18:46:45 2011] [notice] caught SIGTERM, shutting down
There appears to be no 'Rewrite' module which can be built with EasyUpdate, presumably this option has been deprecated since I last installed this module a few months ago on an older version of cPanel.
Can anyone offer any pointers as to why this isn't working?
Thanks