-2

I've been setting up a phpbb forum, and have been encountering a bug in many of the page redirects. When someone logs in, for example, it goes to this:
your domain.com:34543/index.php?sid=6bcf305366b67a83a882c2323d9ee967.
When I delete the :34543, it loads just fine. How do I prevent this from happening?

urfusion
  • 5,528
  • 5
  • 50
  • 87
Clifton M
  • 1
  • 3

1 Answers1

-1

Go into /Library/Server/Web/Config/apache2/sites/ and open the 0000_127.0.0.1_34543_.conf in TextEdit. In my case, I'm using Xcode. Change <VirtualHost 127.0.0.1:34543> to <VirtualHost 127.0.0.1> Also note: you must enable permissions with an admin account. To do this, right click on the folder and choose get info. Scroll to the bottom and click the lock to authenticate. In permissions change read only to read and write. Do this for the files, too.

EDIT:

I forgot to add that you need to restart web services in order for the fix to take effect. I'm sorry to the people that I lead wrong, as I was distracted while writing this.

Note:

You will need to do this for every time that you update server. It is also a good idea to do this with the .default file, too

Clifton M
  • 1
  • 3