|
Joined: Jun 2006
Posts: 956
Old Hand
|
Old Hand
Joined: Jun 2006
Posts: 956 |
I use the redirectors for my old threads 6.5 board to bring the old bookmark user to the new board. I reviev the php error log on my server (php5.2.0) and found:
PHP Notice: Undefined index: Number in /var/.../ubbthreads/showflat.php on line 64 PHP Notice: Undefined variable: PATH_INFO in /var/.../ubbthreads/showflat.php on line 68
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
Are you running Apache1? I don't believe it works kindly with the path_info directive.
|
|
|
|
Joined: Jun 2006
Posts: 956
Old Hand
|
Old Hand
Joined: Jun 2006
Posts: 956 |
I dont know what my hoster runs. How can I find it out?
The redirector works.
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
It shows on the error pages as the server signature, try going to: http://www.yoursite.tld/this/url/should/never/work.php (I'm well aware it doesn't exist, we're looking for the signature on the error page at the bottom of the page). It should put something similar to: If you have custom error pages setup this method won't work, in this case you'll want to access a phpinfo page and look at the "SERVER_SIGNATURE" line: phpinfo.php: You should see something similar to: <address>Apache/2.0.52 (CentOS) Server at www.undergroundnews.com Port 443</address>
|
|
|
|
Joined: Jun 2006
Posts: 956
Old Hand
|
Old Hand
Joined: Jun 2006
Posts: 956 |
Nice try, but my provider seems to be a bit harder this way Custom errorpages and in phpinfo I see Squid and Zend2. He changed the address tag too. I go and ask him Thanks.
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
I guess you could try disabling the custom error pages just to do a check, should be as simple as editing your .htaccess file and adding a # in front of the 404 custom error page...
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
that is, assuming, the custom error pages aren't hardcoded into the apache httpd.conf lol
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
|
1 members (1 invisible),
859
guests, and
196
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|