Apache redirects, even after fresh install

Hi guys,
I’m at my wits end and I’m a danger to myself.

Trying this place out for the first time since Stack Overflow never allows my posts to stay up.

Yesterday, I installed XAMPP in C:\XAMPP. The XAMPP Control Panel warned that Port 80 is bein…


This content originally appeared on DEV Community and was authored by Jonathan Bauer

Hi guys,
I'm at my wits end and I'm a danger to myself.

Trying this place out for the first time since Stack Overflow never allows my posts to stay up.

Yesterday, I installed XAMPP in C:\XAMPP. The XAMPP Control Panel warned that Port 80 is being used by other apps so I used the config and changed Apache(httpd.conf), changing:

Listen 12.34.56.78:80

Listen 80
to:

Listen 12.34.56.78:80

Listen 81

The warning went away, because port 81 is not being used by any other processes. I installed WordPress inside c:\xampp\htdocs\blog and found that I accessed it by running http://localhost:81/blog.
Everything was working fine until I decided to investigate getting it to run from port 80 instead. I stopped all services that use port 80 and set Listen back to 80. So that would be mean I only need to type http://localhost/blog to access WordPress instead of http://localhost:81/blog, right?
 But the browser would wait a while being returning a page loading problem for http://localhost:81/blog. 
 Now I have tried uninstalling XAMPP, deleting the entire XAMPP directory (including Apache) and then reinstalling XAMPP (including Apache). It now has a completely new database. After doing this, these things happen:
 "http://localhost" will run c:\xampp\htdocs\index.php just fine.
 "http://localhost/blog02" will run c:\xampp\htdocs\blog02\index.php just fine.
 "http://localhost/blog/test" will run 

c:\xampp\htdocs\blog\test\index.php just fine.
However, "http://localhost/blog" will seemingly redirect to "http://localhost:81/blog" and time out.

 How in God's Green Earth can this 81 port remain when Wordpress, Apache and XAMPP have been completely wiped?!? Do I have to wipe my machine and reinstall Windows to regain control of my Apache ports?


 Any references that can direct me on why this happens would be greatly appreciated. I'll be cleaning up broken crockery in the meantime.

JUST LIKE APACHE PORTS, I HAVE NO CONTROL OVER THE FORMAT OF MY FIRST POST. I'M MOVING TO REDDIT. BYE!


This content originally appeared on DEV Community and was authored by Jonathan Bauer


Print Share Comment Cite Upload Translate Updates
APA

Jonathan Bauer | Sciencx (2024-11-04T21:06:00+00:00) Apache redirects, even after fresh install. Retrieved from https://www.scien.cx/2024/11/04/apache-redirects-even-after-fresh-install/

MLA
" » Apache redirects, even after fresh install." Jonathan Bauer | Sciencx - Monday November 4, 2024, https://www.scien.cx/2024/11/04/apache-redirects-even-after-fresh-install/
HARVARD
Jonathan Bauer | Sciencx Monday November 4, 2024 » Apache redirects, even after fresh install., viewed ,<https://www.scien.cx/2024/11/04/apache-redirects-even-after-fresh-install/>
VANCOUVER
Jonathan Bauer | Sciencx - » Apache redirects, even after fresh install. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/11/04/apache-redirects-even-after-fresh-install/
CHICAGO
" » Apache redirects, even after fresh install." Jonathan Bauer | Sciencx - Accessed . https://www.scien.cx/2024/11/04/apache-redirects-even-after-fresh-install/
IEEE
" » Apache redirects, even after fresh install." Jonathan Bauer | Sciencx [Online]. Available: https://www.scien.cx/2024/11/04/apache-redirects-even-after-fresh-install/. [Accessed: ]
rf:citation
» Apache redirects, even after fresh install | Jonathan Bauer | Sciencx | https://www.scien.cx/2024/11/04/apache-redirects-even-after-fresh-install/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.