Valhalla Legends Archive

General => General Discussion => Topic started by: FrOzeN on December 08, 2005, 05:04 AM

Title: Website Suggestion: Object not found! /phpbbs/
Post by: FrOzeN on December 08, 2005, 05:04 AM
Maybe on the error page, add some code so it checks the title bar and if it contains "phpbbs/" it removes, then continues redirecting to the correct page. This would fix all the broken links (for this site) in older posts.

Nothing major, though is relatively simply fix. :)
Title: Re: Website Suggestion: Object not found! /phpbbs/
Post by: Joe[x86] on December 12, 2005, 10:31 PM
Should be incredibly easy. cd into /web and create a symbolic link "phpbbs" to "."
Title: Re: Website Suggestion: Object not found! /phpbbs/
Post by: iago on December 13, 2005, 01:11 PM
Quote from: Joe on December 12, 2005, 10:31 PM
Should be incredibly easy. cd into /web and create a symbolic link "phpbbs" to "."

Shouldn't be incredibly easy, the forum is on Windows.  Nothing is easy on Windows. 

Err, nevermind, it's on Suse now.  It got moved.  So yeah, it's easy :)
Title: Re: Website Suggestion: Object not found! /phpbbs/
Post by: Thing [vL] on December 13, 2005, 01:30 PM
Thanks for alerting me to this.  I have made a couple of corrections to resolve this issue.

./edit Yes, iago it was easy.   :-*
Title: Re: Website Suggestion: Object not found! /phpbbs/
Post by: Fr0z3N on December 15, 2005, 06:54 PM
I love your username.
Title: Re: Website Suggestion: Object not found! /phpbbs/
Post by: MyndFyre on December 15, 2005, 08:24 PM
Quote from: iago on December 13, 2005, 01:11 PM
Shouldn't be incredibly easy, the forum is on Windows.  Nothing is easy on Windows. 
Even if it's on Windows, it's on PHP.  All you'd need to do is make a quick index.php file that redirects the client to /index.php with the appropriate querystring.
Title: Re: Website Suggestion: Object not found! /phpbbs/
Post by: FrOzeN on December 15, 2005, 08:54 PM
I assumed you guys knew how to do it. :)

If I were to do it, I would just open .htaccess and add the line "ErrorDocument 404 /404.php".
Then create the file 404.php in the home directory and write a quick script to replace /phpbbs/ and continue redirecting.

[EDIT] Fixed sentence.
Title: Re: Website Suggestion: Object not found! /phpbbs/
Post by: iago on December 15, 2005, 08:56 PM
Quote from: MyndFyre on December 15, 2005, 08:24 PM
Quote from: iago on December 13, 2005, 01:11 PM
Shouldn't be incredibly easy, the forum is on Windows.  Nothing is easy on Windows. 
Even if it's on Windows, it's on PHP.  All you'd need to do is make a quick index.php file that redirects the client to /index.php with the appropriate querystring.

That's a lot more work than "ln -s phpbbs ." :P