phpBB login form integration (locate to parent dir problem?)
Posted: Sat Sep 18, 2010 3:47 pm
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
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