Change of localhost:8888 to localhost[SOLVED]

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
matthijs
DevNet Master
Posts: 3360
Joined: Thu Oct 06, 2005 3:57 pm

Change of localhost:8888 to localhost[SOLVED]

Post by matthijs »

I have a working MAMP installation on my mac, with a few virtualhosts. With a default install you have to approach the webserver with http://localhost:8888/ However, I wanted to change that to http://localhost/. So getting rid of the 8888. Now, changing that is easy with MAMP's control panel. After changing it and restarting Apache I can approach localhost/ and get the correct webpage. However, all links coded as <a href="/somedir/">somelink</a> still point to localhost:888/somedir/. I tried finding some setting in my httpd.conf but couldn't find anything. Has anyone a clue were I should look? Thanks.[edit:] I found the solution. I had a base tag pointed to :8888 somewere ... sorry
Post Reply