Here's my httpd.conf
. Inside it, I have the following in place
#Listen 12.34.56.78:80
#Listen 127.0.0.1:8887
Listen 127.0.0.1:80
#Listen 127.0.0.1:8080
Listen 192.168.1.4:80
and I have a .htaccess
RewriteEngine On
RewriteRule ^wordpress(.*)$ wp-oct/live$1
in my local www folder with wordpress installed in /wp-oct/live/
to which /wordpress/
is supposed to redirect to, but it doesn't. It instead redirects to http://localhost:8080/wp-oct/live/
. Why is 8080 showing up?
RewriteRule
should not cause a redirect. There must be more to your configuration and I think you'll need to paste some of it here to get a useful answer. All of your rewrite rules would be a good start..htaccess
in www root folder. What other confs do you mean?ServerName 127.0.0.1:8080
(line224 my httpd.conf)