httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "PINNI, BALANAND (SBCSI)" <bp3...@sbc.com>
Subject [users@httpd] How do I disable default 410 error document:
Date Wed, 19 Nov 2003 17:08:48 GMT
How do I disable error document i.e. default on
HP-UX_Apache-based_Web_Server/2.0.47 (Unix)

The 'error' directory contains HTTP error messages in multiple languages.
 If the preferred language of a client is available it is selected
 automatically via the MultiViews feature. This feature is enabled
 by default via the Options, Language and ErrorDocument directives.

-----Original Message-----
From: PINNI, BALANAND (SBCSI) 
Sent: Wednesday, November 19, 2003 9:50 AM
To: 'users@httpd.apache.org'
Subject: RE: [users@httpd] Directory not closed error :--Pl. help:


After I did the change I get this.

Syntax error on line 1155 of /opt/hpws/apache/conf/httpd.conf:
ErrorDocument takes two arguments, Change responses for HTTP errors

Thanks
Pinni

-----Original Message-----
From: Brian Dessent [mailto:brian@dessent.net] 
Sent: Tuesday, November 18, 2003 7:23 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Directory not closed error :--Pl. help:


"PINNI, BALANAND (SBCSI)" wrote:

> Now my issue is when I edit httpd.conf with the following lines it says
> directory not closed?????
>         </html>" \
> </Directory>

Try getting rid of the last '\' after '</html>"'.  The backslash as last
character on the line means to continue the logical line with the next
line, i.e. ignore the next line break.  Hence your closing Directory tag
is being parsed as being at the end of this ErrorDocument directive.

Brian

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message