ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank Arensmeier <frank.arensme...@nikehydraulics.se>
Subject Re: Configuration of .htaccess file
Date Mon, 26 Sep 2005 08:34:24 GMT
Thank you all! You made my day.

2005-09-26 kl. 10.25 skrev Jon McLennan:

> I'm sure you'll find the list you need here:
>
> http://httpd.apache.org/lists.html
>
> Frank Arensmeier wrote:
>
>> ... and the address would be...? Honestly, I feel lost. I can't find  
>> a general apache mailing list. Is httpd.apache.org a good idea?  
>> Monday morning, what else can i say?
>> /frank
>>
>> 2005-09-26 kl. 10.00 skrev Nicolas Vervelle:
>>
>>> Euh ... why don't you post in the Apache mailing list ?
>>> You're in the Ant mailing list ...
>>>
>>> Frank Arensmeier wrote:
>>>
>>>> Hi.
>>>>
>>>> I am new to Apache and I ran into a problem which I haven't found a  
>>>> solution for yet. My server is Apache 1.3.33 on Mac OS X (the  
>>>> bundled version). I am looking for a way to configure a .htaccess  
>>>> file the following way:
>>>>
>>>> 1) in a certain path of my webserver, all 404 errors should be  
>>>> grabbed and forwarded to a PHP script
>>>> 2) I don't want Apache to send any headers before the PHP script
>>>> 3) For your information only: The request is checked by the script  
>>>> and the script will output a 404 header under some circumstances.
>>>>
>>>> The most important part for me is the second one. For now my  
>>>> .htaccess file only contains the following:
>>>>
>>>> ErrorDocument 404 /link_to_PHP_script.php
>>>>
>>>> Obviously, this does not prevent Apache from sending a header with  
>>>> a 404 message. I saw in the Apache manual a module called  
>>>> ErrorHeader, but I am not quite sure how to use this. When I extend  
>>>> the .htaccess file with, e.g. ErrorHeader unset 404, my server  
>>>> gives my an internal configuration error. And then, if I would  
>>>> unset a 404 header, would the other part ("ErrorDocument 404 ...")  
>>>> still trigger the PHP script?
>>>>
>>>> Google was not my friend this time, I would like to add.
>>>>
>>>> Any help with this would be greatly appreciated.
>>>>
>>>> Regards,
>>>> Frank
>>>>
>>>>
>>>> -------------------------------------------------------------------- 
>>>> -
>>>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>>>> For additional commands, e-mail: user-help@ant.apache.org
>>>>
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>>> For additional commands, e-mail: user-help@ant.apache.org
>>>
>>>
>>>
>> - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>> NIKE HYDRAULICS AB
>>
>> Frank Arensmeier
>> Marknadssupport / Webmaster
>> tel 016 - 16 82 34
>> fax 016 - 13 93 16
>>
>> frank.arensmeier@nikehydraulics.se
>> www.nikehydraulics.se
>> - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>> For additional commands, e-mail: user-help@ant.apache.org
>>
>>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NIKE HYDRAULICS AB

Frank Arensmeier
Marknadssupport / Webmaster
tel 016 - 16 82 34
fax 016 - 13 93 16

frank.arensmeier@nikehydraulics.se
www.nikehydraulics.se
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message