Apache 2.4 configurations

Hi Im attempting to move my HTTP file server from an Ubuntu server to a RedHat 7 server, I have the virtual host configured per below but I'm getting a 403 forbidden error on the RedHat any help would be appreciated.

<VirtualHost *:80>
        ServerAdmin adm@mydomain.com
        DocumentRoot /mnt/HTTP
        ServerName GTHTTP.mydomain.int
        ServerAlias www.GTHTTP.mydomain.int
        ErrorLog "/var/log/httpd/gthttp.mydomain.int.error_log"
        CustomLog "/var/log/httpd/mydomain.int-access_log" common
</VirtualHost>
atorexAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dave BaldwinFixer of ProblemsCommented:
The Apache user probably does not have read/write permissions on '/mnt/HTTP' or the log file directories.
atorexAuthor Commented:
I have permission set to 777 one the directory so it should be available however it still does not, the log shows the below.

[Thu Mar 24 15:49:04.702344 2016] [core:error] [pid 13262] (13)Permission denied: [client 192.168.5.17:61921] AH00035: access to / denied (filesystem path '/mnt/HTTP') because search permissions are missing on a component of the path

I then changes selinux settings to permissive and I no longer get 403 error, I now get to the apache page as if no configuration exists.
I have to be missing something on my conf file.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
arnoldCommented:
redhat stores the files in /var/www
you should not disable selinux as it is there to shield your system from compromises but if compromised to prevent your system from disseminating

/mnt is as was pointed out a temporary mount point and should not be used for something as permanent as a site, why not copy the file to /var/www/mysite and configure the virtualhost accordingly?
atorexAuthor Commented:
I have figured out the cause of the issue, it was due to selinux.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apache Web Server

From novice to tech pro — start learning today.