View Single Post
  #2  
Old 09-16-2007, 12:14 AM
John John is offline
Administrator
GB Admin
GB GEEK
 
Join Date: Jun 2006
Location: NJ
Posts: 255
Default

I believe the way to create a custom 404 error page for a specific directory would be to configure that within a Directory directive. That can be also inside the VirtualHost directive as well.

It might be something like the following:

<VirtualHost 192.168.5.5:80>
ErrorDocument 404 /404a.php
<Directory /path/to/directory>
ErrorDocument 404 /404b.php
</Directory>
</VirtualHost>
__________________
John Hammell
Network Administrator
Computer Geeks
Reply With Quote