• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 311
  • Last Modified:

.htaccess file

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
0
Braveheartli
Asked:
Braveheartli
  • 2
1 Solution
 
Brad HoweCommented:
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
0
 
BraveheartliMarketingAuthor Commented:
Dear hades6666,
How can i access the webroots? I do not see it when i connect the server with ftp
0
 
Brad HoweCommented:
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
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now