Thanks. We will start with the Error Document
In the httpd.conf file:
Documentroot "/usr/local/www/data"
Alias /nz "usr/local/www/nz"
<Directory "/usr/local/www/nz">
Options Indexes Multiviews
AllowOverride All
Order allow,deny
Allow from All
</Directory>
#All other settings are the default ones
I have no settings in srm.conf
Contents of my .httaccess (/usr/local/www/nz)
#Error document
ErrorDocument 404 /error.html
The webpage works fine but I don't get the custom error page
-----Original Message-----
From: Joshua Slive [mailto:joshua@slive.ca]
Sent: Thursday, 17 January 2002 2:07 p.m.
To: users@httpd.apache.org
Subject: RE: .htaccess problems
> From: Defryn, Guy [mailto:G.P.Defryn@massey.ac.nz]
[still not working]
It is very difficult dealing with all these things simultaneously. Why
don't you do the following:
1. Try one problem at a time.
2. Report exactly the relevant part of httpd.conf, including the
DocumentRoot. Don't make random changes before you post; just copy and
paste into the email.
3. Report exactly what URL you are typing into the browser, and exactly what
you see as a result, in addition to the exact contents of the error and
access logs.
With that information, we should be able to help.
Joshua.
---------------------------------------------------------------------
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
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
For additional commands, e-mail: users-help@httpd.apache.org
In the httpd.conf file:
Documentroot "/usr/local/www/data"
Alias /nz "usr/local/www/nz"
<Directory "/usr/local/www/nz">
Options Indexes Multiviews
AllowOverride All
Order allow,deny
Allow from All
</Directory>
#All other settings are the default ones
I have no settings in srm.conf
Contents of my .httaccess (/usr/local/www/nz)
#Error document
ErrorDocument 404 /error.html
The webpage works fine but I don't get the custom error page
-----Original Message-----
From: Joshua Slive [mailto:joshua@slive.ca]
Sent: Thursday, 17 January 2002 2:07 p.m.
To: users@httpd.apache.org
Subject: RE: .htaccess problems
> From: Defryn, Guy [mailto:G.P.Defryn@massey.ac.nz]
[still not working]
It is very difficult dealing with all these things simultaneously. Why
don't you do the following:
1. Try one problem at a time.
2. Report exactly the relevant part of httpd.conf, including the
DocumentRoot. Don't make random changes before you post; just copy and
paste into the email.
3. Report exactly what URL you are typing into the browser, and exactly what
you see as a result, in addition to the exact contents of the error and
access logs.
With that information, we should be able to help.
Joshua.
---------------------------------------------------------------------
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
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
For additional commands, e-mail: users-help@httpd.apache.org