jim winstead
da49613a7f
don't set prevsearch cookie when automatically bounced to search
...
page by an error.
2002-02-10 01:41:56 +00:00
Gabor Hojtsy
17ab643d20
Exit, if we found the right redirect page. This makes this code work ;)
2002-02-03 12:41:39 +00:00
Gabor Hojtsy
7f7543f5d9
So DOCroot has no trailing slash, now this may make this work ;)
2002-02-03 11:28:09 +00:00
Gabor Hojtsy
dd4dfaebee
Try to add support for php.net/links kind of URLS for php.net/links.php
...
Just for support people [incl. me] to have shortcuts => type less ;)
This makes all .php files accessible without the php extension (also
means we sould be careful not to name directories and files with the same
name in phpweb).
I'll see if this works at all, or needs some rethink
2002-02-03 10:58:33 +00:00
jim winstead
0bc1aaa1f5
use Status: header, but don't need it for redirects.
2001-09-25 18:39:31 +00:00
jim winstead
b778d3c1ea
allow error pages to be cached, too
2001-09-22 08:20:33 +00:00
Colin Viebrock
040d6d1b87
this always bugged me ...
2001-09-19 22:11:27 +00:00
jim winstead
f3126a12b6
use htmlspecialchars when displaying uri that triggered a 404, too.
2001-08-31 08:01:10 +00:00
jim winstead
f36b2947cc
ignore leading / from uri
2001-08-27 23:28:47 +00:00
jim winstead
b2dcb9d190
stifle warning
2001-08-24 18:52:47 +00:00
jim winstead
6b304c4237
hide the $MIRRORS array behind some access functions, for the most part
2001-07-07 01:17:41 +00:00
Colin Viebrock
1c7b246586
tweak
2001-05-16 14:37:12 +00:00
Colin Viebrock
acffff4f23
Remove those old images again, and fix the error/index.php page to not need them. :)
2001-05-13 22:38:06 +00:00
Sascha Schumann
36f13ec7e5
Put out a proper redirect header.
...
This also makes it easier to differentiate redirects from htsearch
invocations in the access log.
2001-05-05 20:45:29 +00:00
Sascha Schumann
6d26cabffc
save 90% of htsearch invocations by ignoring accesses to
...
URIs ending in .gif, .jpg and .pdf.
2001-05-05 17:22:26 +00:00
Stig Bakken
b9686e6ad2
On no.php.net, /manual/foo.php redirected to /manual/no/foo.php, which
...
doesn't exist. Check for the existence of $DOCUMENT_ROOT/manual/$lang,
and fall back to English if there is no such directory.
2001-04-02 22:11:24 +00:00
jim winstead
33c01cb600
here goes nothing. the new php site look. let the torrent of
...
bitter and angry "i hate change" emails begin.
2001-03-08 00:18:15 +00:00
jim winstead
5dc4e2f351
configuration.inc should be in top level, but may not exist
2001-01-23 22:06:38 +00:00
Rasmus Lerdorf
4cbcffdd32
Ugh
2001-01-13 05:47:38 +00:00
Rasmus Lerdorf
872e225c86
Let's leave the 404 error message there
2001-01-13 01:48:13 +00:00
Rasmus Lerdorf
17ba8869ec
Uh, already worked out this string above.
2001-01-13 01:27:03 +00:00
Rasmus Lerdorf
d613bd1cd3
Let's not reveal the doc_root path here
2001-01-13 01:22:24 +00:00
jim winstead
dc751f32f8
needs configuration.inc to get htsearch set
2001-01-13 00:24:02 +00:00
jim winstead
200e842afb
just the error note is enough information
2001-01-13 00:23:27 +00:00
jim winstead
f4314bcbb2
crap, typo.
2001-01-12 23:51:22 +00:00
jim winstead
061824da8c
clean up error page
2001-01-12 23:21:20 +00:00
jim winstead
614004bbf1
handle html version of manual, too
2001-01-12 21:40:11 +00:00
jim winstead
053b9b0da8
clean up, hopefully fix
2001-01-12 21:11:07 +00:00
jim winstead
b8a6caa75d
handle moved english manual, and use manual-lookup.inc
2001-01-12 20:59:57 +00:00
Gareth Watts
91224d108e
Make the manual lookup shortcut work no matter where a mirror has the site checked out to.
...
This works for me; hopefully it won't break the other sites
2000-12-27 17:30:10 +00:00
Rasmus Lerdorf
ebee49eee9
Support languages in the quick-access hack. ie. www.php.net/de/strlen
2000-12-16 16:13:47 +00:00
Rasmus Lerdorf
082b035cf6
Grr.. Someone changed files directly in the checked out phpweb tree
...
on php2.chek.com. Checking those changes into CVS...
2000-10-06 21:02:45 +00:00
Rasmus Lerdorf
d8f50cad38
Look up words in manual first before doing a text search
2000-10-06 20:39:56 +00:00
Rasmus Lerdorf
db56823f36
Get rid of ugly port 80 in redirect if we are already on port 80
2000-07-16 04:29:53 +00:00
Sascha Schumann
ddc2a864b9
The HTTP redirection works; cleanup of produced HTML code.
2000-07-02 05:58:08 +00:00
Sascha Schumann
7e92fdd373
First try at automatically redirecting failed requests to *.php3
...
documents to *.php.
2000-07-02 05:54:18 +00:00
Stig Bakken
aac8dda45c
Added Rasmus's error handler to CVS.
1999-12-10 07:43:49 +00:00