.htaccess file

BR
BR used Ask the Experts™
on
I'm using vps server, I have 4 domains and 4 web sites,
I want to use .htaccess file for each web site. But I can not see them in my root folder.
There is no file named.htaccess under httpdocs files.
What should I do? should I create one and use it?
what if there is one .httacces file on the upper level?
where can I see the upper level files?
I already know my vps ip address,
I'm using Parallels Power Panel

I'm using apache server. thank you
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
DevOps Manager
Top Expert 2011
Commented:
As you have 4 separate domains they are distinct. .htaccess files will need to be placed in each websites root folder.

If they do not exist you simply need to create it in the webroots.

Cheers,
Hades666
BRDigital Marketing

Author

Commented:
Dear hades6666,
How can i access the webroots? I do not see it when i connect the server with ftp
Brad HoweDevOps Manager
Top Expert 2011

Commented:
What are you directorys listed when you connect via FTP? You need to have at least 4 directories that separate the 4 domains.

Cheers,
Hades666

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial