Solved

.htaccess file

Posted on 2012-12-20
3
282 Views
Last Modified: 2012-12-23
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
Comment
Question by:Braveheartli
  • 2
3 Comments
 
LVL 30

Accepted Solution

by:
Brad Howe earned 500 total points
ID: 38711478
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
 
LVL 1

Author Comment

by:Braveheartli
ID: 38711553
Dear hades6666,
How can i access the webroots? I do not see it when i connect the server with ftp
0
 
LVL 30

Expert Comment

by:Brad Howe
ID: 38711789
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now