Click to See Complete Forum and Search --> : phpbb2 with apache server problem
mystico
March 1st, 2004, 05:26 PM
Hi,
I have setup phhp2 forum in my PC. I'm running apache server 1.3.23. the link is http://sairam.sytes.net/phpbb2/index.php. The problem is that when I try to go to some subdirectory, for example http://sairam.sytes.net/phpbb2/admin/index.php , I get a "he page cannot be found" page. The point is that actually I dont have problems from my PC. this happens only in other PC's.
It's seems that apache is restricting access to thes folders.
The root is C:/apache/htdocs/phpbb2
Please help, what can I do ??
khp
March 1st, 2004, 06:41 PM
http://sairam.sytes.net/phpbb2/admin/index.php
Is redirected to
http://localhost/phpbb2/login.php?redirect=admin/&sid=dbd353b5dd0c136697727b86a35b755e
Notice the domain name is localhost, instead of sairam.sytes.net. Which is why it only works on the machine that runs the server. localhost means 'this computer', so when you visit the page using another computer it will try to get the page from itself, which of course fails.
If you want the admin pages to be accsible from other machines you probably need to redirect http://sairam.sytes.net/phpbb2/admin/index.php
to http://sairam.sytes.net/phpbb2/login.php?redirect=admin/&sid=dbd353b5dd0c136697727b86a35b755e
I tried opening the page http://sairam.sytes.net/phpbb2/login.php?redirect=admin/&sid=dbd353b5dd0c136697727b86a35b755e
Which gave me a login prompt in a forign language.
I would suspect that the phpbb documentation explains how to deal with these things.
mystico
March 3rd, 2004, 02:50 AM
Thank you so much.
Now I see, the problem was in the configuration panel, in PHPBB2.
the domain was set to : localhost
I changed to : sairam.sytes.net
now it seems that works.
http://sairam.sytes.net/phpbb2/index.php[/URL]
and
http://sairam.sytes.net/phpbb2/admin/index.php [URL]
by the way,
do you prefer vBulletin Version 2.3.4 rather than phpbb ???
khp
March 3rd, 2004, 05:29 AM
Happy to see that you got things working :)
Originally posted by mystico
do you prefer vBulletin Version 2.3.4 rather than phpbb ???
Well, I haven't used PHPBB much, so I would prefer to not to say which I prefer. Because I really can't make an informed decision on the subject.
I am sure that both are perfectly good products, and of course PHPBB has the advantage of beeing free, While VBulletin seems to be more widely used on the web.
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.