logo
Apache Lounge
Webmasters

 


About

Forum Index Downloads Search Register Log in  RSS Apache Lounge
 


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Apache Lounge is not sponsored.

Your donations will help to keep this site alive and well, and continuing building binaries.



Cannot access application in home folder

 
Post new topic   Reply to topic    Apache Forum Index -> Apache



View previous topic :: View next topic  
Author Message
Nivetha



Joined: 10 Oct 2018
Posts: 1
Location: India

PostPosted: Wed 10 Oct '18 11:53    Post subject: Cannot access application in home folder Reply with quote

I have setup a drupal site in a centOS 6 EC2 instance configured with apache as the web server. The application works fine in /var/www/html directory(default). This application needs to be moved to /home/centos for development purposes. But the following error is seen when the root directory is pointed to /home/centos.
I also tried creating Symboliclink in /var/www/html pointing to the folder in /home/centos eventhough it couldnot be accessed by the browser.

Quote:
Forbidden
You don't have permission to access /test1/ on this server.
Back to top
mraddi



Joined: 27 Jun 2016
Posts: 69
Location: Schömberg, Baden-Württemberg, Germany

PostPosted: Wed 10 Oct '18 13:44    Post subject: Reply with quote

Hello,

does the user Apache is running as have rights to the /home/centos/-directory?
If you are using the symlink-version also ensure that symlinks are allowed within apache's config:
Code:
Options FollowSymLinks
Back to top


Post new topic   Reply to topic    Apache Forum Index -> Apache
Page 1 of 1