Jump to content

Apache HTTP_HOST problem


wdo_will

Recommended Posts

I am having the weirdest problem that I can't seem to figure out.  Basically, my web host thinks it is always serving up requests to post 81, not 80, although I am always accessing it via port 80, of course.  Whenever I install a script (e.g. WordPress), it also thinks it is installing to port 81.  I tried doing a phpinfo(); and in the Apache HTTP_HOST section it says port 80, also.  This wouldn't be a problem, because I just go into WordPress's database with phpMyAdmin and change it, but it is messing up redirects via mod_rewrite and .htaccess for WordPress.  I set it up to use the nicer URIs in WordPress, and it writes to .htaccess, but just redirects to my homepage every time I try it out.  Has anyone every had this problem before, and if so, is it possible to fix via .htaccess (I don't have access to http.conf or php.ini)?
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.