Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Here's my httpd.conf. Inside it, I have the following in place


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?

share|improve this question
Redirect can be cached in browser and is tricky to get rid of... can you test it on different browser/workstation? – Kamil Šrot Nov 1 '12 at 9:58
A redirect to port 8080 is no indication that Apache is listening on port 8080. That 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. – Ladadadada Nov 1 '12 at 10:03
@KamilŠrot I've tried all my browsers and their respective incognito modes. – laggingreflex Nov 1 '12 at 10:21
@Ladadadada Those are the only rules on my .htaccess in www root folder. What other confs do you mean? – laggingreflex Nov 1 '12 at 10:23
[SOLVED] So this was causing it: ServerName (line224 my httpd.conf) – laggingreflex Nov 3 '12 at 7:41

I see you've already solved it, but for anyone who comes across this post, one way to troubleshoot this is to mod_info to pull up the server info page (see and then search for 8080 to see where 8080 might be getting defined.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.