Page 1 of 1

phpBB login form integration (locate to parent dir problem?)

Posted: Sat Sep 18, 2010 3:47 pm
by thomas49th
Hi my site folder structure

public_html

sub directories:
-phpBB
-subdomain1

the index.php in subdomain1 contains

<form method="post" action="../phpbb/ucp.php?mode=login">
<label for="username">Username: </label> <input type="text" name="username" id="username" size="40" /><br

/><br />
<label for="password">Password: </label><input type="password" name="password" id="password" size="40"

/><br /><br />
<label for="autologin">Remember Me?: </label><input type="checkbox" name="autologin" id="autologin" /><br

/><br />
<input type="submit" value="Log In" name="login" />
<input type="hidden" name="redirect" value="../index.html" />
</form>


but when I run my script I get

Not Found

The requested URL /phpbb/ucp.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


Why cannot it not see the bloody file?

Thanks
Thomas

Re: phpBB login form integration (locate to parent dir probl

Posted: Sun Sep 19, 2010 5:44 pm
by Jonah Bron
It says phpbb/ucp.php is missing. Can you confirm that's it's there?

Re: phpBB login form integration (locate to parent dir probl

Posted: Mon Sep 20, 2010 11:55 am
by thomas49th
yes I can. If I use an absolute reference eg http://mywebsite.com/phpbb/upc.php

that'll work fine :\