Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have 2 virtual host:

first:

/home/user/website

second

/home/user/website/sub

Now I have a .htaccess in website that changes the default 404 Not Found pages.

How Can I set .htaccess in /home/user/website doens't affect the other virtual host too (/home/user/website/sub)?

thanks

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Change it back to the default value in the .htaccess for /home/user/website/sub:

ErrorDocument 404 default
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.