Solved

Apache directory

Posted on 2013-10-25
2
213 Views
Last Modified: 2013-10-26
Hi experts,

I would like to know if is possible to access a directory thru the browser that is not under the site root.

Eg.
In httpd.conf
¿      DocumentRoot "/usr/local/alcani"

And I would like to view thru the browser files under /u/TXT/

Thank you for your answer,

Regards,
0
Comment
Question by:alcani
2 Comments
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39602130
Under a plain Apache install, the answer is no.  If the directory is in an 'alias' and the Apache user has permissions to access that directory, then yes.  Also, if Apache is running 'suexec' and that directory belongs to the user the site belongs so that they have permissions to access, then yes also.  That is common under 'per user' sites where each user has a web site in their own user space.
0
 
LVL 58

Accepted Solution

by:
Gary earned 500 total points
ID: 39602718
You can add a symbolic link to the folder from the site root folders but as Dave has said it needs the proper permissions.
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Need To Change Centos 6 Timestamp Form In Log File 24 92
VPS for routing recomendations 3 64
windows 7 starter missing password 21 89
Run Secure WMI query from CentOS 5 82
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

809 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