|
|
|
|
||||||
| alt.apache.configuration Apache web server configuration issues. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hi,
I'm starting to look at building a PHP based site which serves virtual pages (possibly using Action/AddHandler) and I'd like to be able to have PHP tell Apache to return its default 404. Every tutorial I've seen uses its own 404 page, the closest I've found is: <http://groups.google.co.uk/group/com...se_frm/thread/ 1ca3371bf7601404/aef01775d62de2a6?lnk=st&q=default+404+apache +php&rnum=2#aef01775d62de2a6> Is there any way to do this? -- imalone |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On May 12, 3:05 pm, imalone <ibmal...@gmail.com> wrote:
> Hi, > > I'm starting to look at building a PHP based site which serves virtual > pages (possibly using Action/AddHandler) and I'd like to be able to > have PHP tell Apache to return its default 404. Every tutorial I've > seen uses its own 404 page, the closest I've found is: > <http://groups.google.co.uk/group/com...se_frm/thread/ > 1ca3371bf7601404/aef01775d62de2a6?lnk=st&q=default+404+apache > +php&rnum=2#aef01775d62de2a6> > > Is there any way to do this? > > -- > imalone your question came up in comp.lang.php 2 days ago, unfortunately the answer is no, but who knows, php could change to include more apache specific functions. They would be useful IMHO. http://groups.google.com/group/comp....9547df003a7115 ps. your nickname makes me feel sad inside, unless your first name is Ima. |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
On May 12, 4:20 pm, shimmyshack <matt.fa...@gmail.com> wrote:
> On May 12, 3:05 pm, imalone <ibmal...@gmail.com> wrote: > > > I'm starting to look at building a PHP based site which serves virtual > > pages (possibly using Action/AddHandler) and I'd like to be able to > > have PHP tell Apache to return its default 404. > your question came up in comp.lang.php 2 days ago, unfortunately the Sorry, I was beginning to suffer from search fatigue. > answer is no, but who knows, php could change to include more apache > specific functions. They would be useful IMHO.http://groups.google.com/group/comp....ead/thread/4ef... > Okay, thanks. It'll probably be good for me to try and do it myself anyway. > ps. your nickname makes me feel sad inside, unless your first name is > Ima. No need to feel sad, my first name is not Ima, but my surname is Malone. -- imalone |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
On 12 May, 20:19, imalone <ibmal...@gmail.com> wrote:
> On May 12, 4:20 pm, shimmyshack <matt.fa...@gmail.com> wrote: > > > On May 12, 3:05 pm, imalone <ibmal...@gmail.com> wrote: > > > > I'm starting to look at building a PHP based site which serves virtual > > > pages (possibly using Action/AddHandler) and I'd like to be able to > > > have PHP tell Apache to return its default 404. > > your question came up in comp.lang.php 2 days ago, unfortunately the > > Sorry, I was beginning to suffer from search fatigue. > > > answer is no, but who knows, php could change to include more apache > > specific functions. They would be useful IMHO.http://groups.google.com/group/comp....ead/thread/4ef... > > Okay, thanks. It'll probably be good for me to try and do it myself > anyway. > > > ps. your nickname makes me feel sad inside, unless your first name is > > Ima. > > No need to feel sad, my first name is not Ima, but my surname is > Malone. > > -- > imalone i realised 2ms after posting my ps. (sorry 4 bein so slow - doh!!) |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
shimmyshack wrote:
> On May 12, 3:05 pm, imalone <ibmal...@gmail.com> wrote: >> Hi, >> >> I'm starting to look at building a PHP based site which serves virtual >> pages (possibly using Action/AddHandler) and I'd like to be able to >> have PHP tell Apache to return its default 404. Every tutorial I've >> seen uses its own 404 page, the closest I've found is: >> <http://groups.google.co.uk/group/com...se_frm/thread/ >> 1ca3371bf7601404/aef01775d62de2a6?lnk=st&q=default+404+apache >> +php&rnum=2#aef01775d62de2a6> >> >> Is there any way to do this? >> >> -- >> imalone > > your question came up in comp.lang.php 2 days ago, unfortunately the > answer is no, but who knows, php could change to include more apache > specific functions. They would be useful IMHO. > http://groups.google.com/group/comp....9547df003a7115 > > ps. your nickname makes me feel sad inside, unless your first name is > Ima. > Should this be a simple HEADER message generatet from PHP? |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
On May 14, 12:26 am, Armand Brahaj <a_bra...@yahoo.com> wrote:
> shimmyshack wrote: > > On May 12, 3:05 pm, imalone <ibmal...@gmail.com> wrote: > >> Hi, > > >> I'm starting to look at building a PHP based site which serves virtual > >> pages (possibly using Action/AddHandler) and I'd like to be able to > >> have PHP tell Apache to return its default 404. Every tutorial I've > >> seen uses its own 404 page, the closest I've found is: > >> <http://groups.google.co.uk/group/com...se_frm/thread/ > >> 1ca3371bf7601404/aef01775d62de2a6?lnk=st&q=default+404+apache > >> +php&rnum=2#aef01775d62de2a6> > > >> Is there any way to do this? > > >> -- > >> imalone > > > your question came up in comp.lang.php 2 days ago, unfortunately the > > answer is no, but who knows, php could change to include more apache > > specific functions. They would be useful IMHO. > >http://groups.google.com/group/comp....ead/thread/4ef... > > > ps. your nickname makes me feel sad inside, unless your first name is > > Ima. > > Should this be a simple HEADER message generatet from PHP? although the header can be sent, it doesn't notify apache to serve the 404, so the default apache error handlers never get invoked, and php has to mimic the behaviour using php code. Perl can invoke apache errors, php cant. (yet) |
|
![]() |
| Outils de la discussion | |
|
|