Solved

.htaccess file

Posted on 2012-12-20
3
290 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Suggested Solutions

What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
The purpose of this video is to demonstrate how to integrate Mailchimp with Facebook. This will be demonstrated using a Windows 8 PC. Mailchimp and Facebook will be used. Log into your Mailchimp account. : Click on your name. Go to Account Setti…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

733 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