LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   phpBB login/logout gives 'page not found' (https://www.linuxquestions.org/questions/linux-general-1/phpbb-login-logout-gives-%27page-not-found%27-317716/)

halo14 04-27-2005 10:51 AM

phpBB login/logout gives 'page not found'
 
I have seen this error before. When loggin in to my phpBB forum for my intranet I am given a 'page not found' error. However, if I hit 'back' and refresh, i am logged in. I had the same problem with another board I run. And to fix that problem, the server name was set to 'www.wormwoodchronicles.com' and the cookie domainw as left blank. Setting the cookie domain to '.wormwoodchronicles.com' fixed the issue.

With this intranet board I have both server name and cookie domain set to '127.0.0.1' and i get the problems. I don't know what would be the correct setting on this.

Hopefully someone can help with this.. thanks in advance. :)

comprookie2000 04-27-2005 08:12 PM

I have the cookie domain blank
the cookie name phpbb2mysql
and the cookie path /
mine seems to work its on my home server which is my main box.I use to get errors too because of permission problems,I have to keep doing this;
chown apache:apache -R /var/www/localhost/htdocs because they seem to change when I edit files as root.I'm new at this.Its alot easier using a web host and just ftp the changes as the permissions seem to stay right.hope this helps

halo14 04-27-2005 09:17 PM

i don't know.. by default it is blank as you say... but I was still getting those page not found errors.. it does still log in.. so it's wierd.. the only way i've been able to get it to work right is by specifying the actual IP of the computer.. but that doesn't work right because it's a notebook on dhcp.. so it changes between work and home... :/

I'll keep working at it..

SocialEngineer 04-28-2005 05:46 PM

I used to get access denied error messages on Apache 2. What version of apache are you running? Not saying that's your problem, but switching to Apache 1.3.33 or whatever worked great for me.

halo14 04-28-2005 09:42 PM

yep.. i'm running 1.3 :) i did know the issue is with the cookies.. i'm just confused as to what it should be set to within a LAN using dhcp... this is just for development.. the final server will have static IP so it shouldn't be an issue then.. I was just hoping for a quick fix on this.. thanks for all the suggestions though.


All times are GMT -5. The time now is 07:40 PM.