404s Everywhere!
Moderators: Krom, Lothar, Richard Cranium, KoolBear
- Instig8
- DBB Ace
- Posts: 347
- Joined: Wed Jun 20, 2001 2:01 am
- Location: Orange County, CA, USA
- Contact:
404s Everywhere!
If I'm not mistaken, the DBB has moved to the root of the domain... aka The BB code no longer resides in phpbb/.
That's all fine and dandy and makes me all warm and fuzzy inside. However, where ever there is a link to the old location (hundreds? thousands? brazillions?), when a user clicks on that link, they get an ugly '404 Not Found' message.
I would like to suggest a re-write rule added to apache, or whatever server you're now using.
I may be way off in left field, but this is how I _think_ it should be coded in the apache conf file:
RewriteRule ^/phpbb/(.*)$ /$1
Or have a custom 404 page that indicates the state of the intended file and a link to where the user should to go (with auto-refresh in n seconds). All that's needed here is the output of the URI with 'phpbb/' removed (and some basic html).
Thanks for listing.
--instig8
That's all fine and dandy and makes me all warm and fuzzy inside. However, where ever there is a link to the old location (hundreds? thousands? brazillions?), when a user clicks on that link, they get an ugly '404 Not Found' message.
I would like to suggest a re-write rule added to apache, or whatever server you're now using.
I may be way off in left field, but this is how I _think_ it should be coded in the apache conf file:
RewriteRule ^/phpbb/(.*)$ /$1
Or have a custom 404 page that indicates the state of the intended file and a link to where the user should to go (with auto-refresh in n seconds). All that's needed here is the output of the URI with 'phpbb/' removed (and some basic html).
Thanks for listing.
--instig8
-
- DBB Supporter
- Posts: 1444
- Joined: Tue Aug 07, 2001 2:01 am
- Instig8
- DBB Ace
- Posts: 347
- Joined: Wed Jun 20, 2001 2:01 am
- Location: Orange County, CA, USA
- Contact:
Re:
That won't fix people's bookmarks and links on other sites. I don't suggest modifying the database, especially when some other action will fix everything.Richard Cranium wrote:Or fix every post that has a link in it.
Code: Select all
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-Powered-By: PHP/4.4.1
Somebody wake me when college football is over.
- Open IIS Help, which is accessible in IIS Manager (inetmgr), and search for topics titled Web Site Setup, Common Administrative Tasks, and About Custom Error Messages.
--instig8.
Re: 404s Everywhere!
I have yet to run into that problem.
The only one was when I tried to log on after the move was finalized which was solved by creating a new fav short cut to \"www.descentbb.net\".
The only one was when I tried to log on after the move was finalized which was solved by creating a new fav short cut to \"www.descentbb.net\".
- KompresZor
- DBB Captain
- Posts: 919
- Joined: Wed Jul 31, 2002 2:01 am
- Location: Clearfield, Pennslyvania
Try the Benefactors link in the header, it will 404
phpbb/lwdonors.php?mode=viewcurrent
phpbb/lwdonors.php?mode=viewcurrent
- CDN_Merlin
- DBB_Master
- Posts: 9781
- Joined: Thu Nov 05, 1998 12:01 pm
- Location: Capital Of Canada
- KoolBear
- DBB Co-Founder
- Posts: 10132
- Joined: Thu Nov 05, 1998 12:01 pm
- Location: Houston, TX USA
- Contact:
Re:
This should be corrected it was a bad link in the DescentBB Template.KompresZor wrote:Try the Benefactors link in the header, it will 404
phpbb/lwdonors.php?mode=viewcurrent
Thanks,
Please be patient we are working to resolve these issues.
KB
-
- DBB Supporter
- Posts: 1444
- Joined: Tue Aug 07, 2001 2:01 am
Re: 404s Everywhere!
I think this is a fixed issue now. All requests to the old directory structure are now permanently redirected to the correct location for the files now. This should fix much more than just broken links BUT make debugging the rest of the code much more challenging because they wont be giving us errors any more. Catch 22. We might have to turn this off for a little while and finish debugging the rest of the site then turn it back on for all of the external links attempting to reach us that we don’t have control over.Instig8 wrote:If I'm not mistaken, the DBB has moved to the root of the domain... aka The BB code no longer resides in phpbb/.
That's all fine and dandy and makes me all warm and fuzzy inside. However, where ever there is a link to the old location (hundreds? thousands? brazillions?), when a user clicks on that link, they get an ugly '404 Not Found' message.
I would like to suggest a re-write rule added to apache, or whatever server you're now using.
I may be way off in left field, but this is how I _think_ it should be coded in the apache conf file:
RewriteRule ^/phpbb/(.*)$ /$1
Or have a custom 404 page that indicates the state of the intended file and a link to where the user should to go (with auto-refresh in n seconds). All that's needed here is the output of the URI with 'phpbb/' removed (and some basic html).
Thanks for listing.
--instig8
Most of the testing of the code is now being done over on the development site and it doesn't have this redirect. We will continue to fix bugs as we find them.
RC
- Krom
- DBB Database Master
- Posts: 16138
- Joined: Sun Nov 29, 1998 3:01 am
- Location: Camping the energy center. BTW, did you know you can have up to 100 characters in this location box?
- Contact:
That was not needed, incase you did not know you can freely move the scripts from phpBB around to different folders and the only setting you need to change is the scripts path in general configuration. The database is in SQL and doesn't move even if the scripts do. Thats why I suggested moving the scripts, it may also fix some other bugs like hard coded links pointing to the wrong locations.
The double // after descentbb.net might confuse some people.
The double // after descentbb.net might confuse some people.
-
- DBB Supporter
- Posts: 1444
- Joined: Tue Aug 07, 2001 2:01 am
Re:
Good catch on the double //. I fixed that. I think we will leave the redirect in place for now on the production system and try moving the scripts in the development site first.Krom wrote:The double // after descentbb.net might confuse some people.
RC
- KoolBear
- DBB Co-Founder
- Posts: 10132
- Joined: Thu Nov 05, 1998 12:01 pm
- Location: Houston, TX USA
- Contact:
Krom is right, it's a breeze to move the folder and update that one table in the database.
In all honestly I would rather the bb not be in the root directory. But that's another point ANd from what I gather it's not a good idea to use phpbb any way because hackers search for just such sites
Either way we are still left the the links AFTER the move.
KB
In all honestly I would rather the bb not be in the root directory. But that's another point ANd from what I gather it's not a good idea to use phpbb any way because hackers search for just such sites
Either way we are still left the the links AFTER the move.
KB