Apache and Custom 404 pages

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: dwacks@saleslogix.comdwackssaleslogix.com
日付:  
題目: Apache and Custom 404 pages
Hi everyone,

I am having problems getting custom 404 pages to appear. We are using
Virtual hosts and I have embedded the errordocument into the section as
follows:


<VirtualHost 172.122.0.215>
DocumentRoot /www/axs/
ServerName axs.noze.com
ErrorDocument 404 /missing.html
ErrorLog /www/logs/axs.error_log
CustomLog /www/logs/axs.access_log combined
</VirtualHost>


Then in /www/axs I have a missing.html file. All permissions match the rest
of the site.

When I type a bad URL I still get the default 404.

I am using apache 1.3.12

Any help is appreciated.

thanks,
Dave