Website folder permission problem?

Posted on 2005-03-14
Medium Priority
Last Modified: 2010-04-20
Hello experts!

I am a junior sys admin and I have come across a problem. This should be a really easy question. We have a server we use for developmental purposes only with its own IP address, etc. All of the 'websites' that are set up on the system can be reached at hostname.com/websitename. In one of the sites that is stored, I cannot access it through my browser. This is very strange, since the permissions seem to be set-up exactly like those of the other fully-working websites on the server. Can you help me out?

The ls -l listing for the folder is as follows:

drwxr-xr-x   22 website website     4096 Mar 14 09:35 website

All of the files in the folder have a listing as follows:

-rwxr-xr-x    1 website website    13611 Mar  3 14:15 index.php

Any help will be greatly appreciated!
Question by:TZRick

Assisted Solution

paranoidcookie earned 189 total points
ID: 13535853
The permissions look fine

Just to make sure its not a permissions issue Can you ping the server by hostname?

Can you post the output of the access / error logs

Accepted Solution

Robson earned 186 total points
ID: 13535899
Why do you mean by "cannot access". What error does you browser report? What server do you use (Apache?). If it is Apache, then how about PHP support? Maybe the site you're unable to acess is the only one that requires PHP?


Author Comment

ID: 13535967
Actually guys, my Sys Admin solved the problem. There was an .htaccess file in the folder. *sigh* and here I go panicking and wondering what in heaven's name is going on! Anyway, I will reward your intentions!

Thank you!

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

Question has a verified solution.

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

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Suggested Courses
Course of the Month9 days, 17 hours left to enroll

569 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