[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Apache directory

Posted on 2013-10-25
2
Medium Priority
?
220 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 84

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 1500 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

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

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

If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
This article will show you step-by-step instructions to build your own NTP CentOS server.  The network diagram shows the best practice to setup the NTP server farm for redundancy.  This article also serves as your NTP server documentation.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Suggested Courses
Course of the Month20 days, 1 hour left to enroll

873 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