Sorry I don't know what I'm doing and I need your help. I have an htaccess file that does some url rewriting but its not working on the server. I don't think mod_rewrite is enabled. but it's not commented out, and phpinfo() says that it is one of the enabled modules.
I don't know what to do. Please help!
from my .htaccess file:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
Update: I changed this line from none to all in http.conf:
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride All
I saved it. Tried to restart apache (by doing what my IT guy said: /sbin/service httpd restart), but apache couldn't restart saying:
Stopping httpd: [FAILED]
Starting httpd: [FAILED]
(98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Now I can't roll back cuz I get the same message...what is wrong!