LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-25-2015, 09:38 AM   #1
cowmoo32
Member
 
Registered: May 2007
Posts: 49

Rep: Reputation: 0
XAMPP Error 403 on localhost


I'm migrating a site from XAMPP on windows to RHEL 6.5. I have a fresh install on the linux box and moved everything in the htdocs folder over, but now I'm getting an error on http://localhost. http://localhost/phpmyadmin loads fine, but the root does not, and I have no idea why. I'm new to XAMPP so I'm not sure where to start. Googling similar problems just lead me to phpmyadmin issues, nothing with the main page.
 
Old 03-25-2015, 03:09 PM   #2
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
can you post the output of your httpd.conf and the output of
Code:
ls -al /path/to/htdocs/
I am looking to see who is owner and group of all the files under htdocs and the htdocs folder itself and I am looking to see who is the user and group for the httpd web service.
 
Old 03-30-2015, 08:58 AM   #3
cowmoo32
Member
 
Registered: May 2007
Posts: 49

Original Poster
Rep: Reputation: 0
It was a permissions error

Code:
[root@carbon2 lampp]# ll
total 11588
drwxr-xr-x  5 root   root      4096 Mar 25 15:08 apache2
drwxrwxr-x  2 root   root     12288 Mar 25 15:09 bin
drwxr-xr-x  2 root   root      4096 Mar 25 15:09 build
drwxr-xr-x  2 root   root      4096 Mar 25 15:08 cgi-bin
-rwxr-xr-x  1 root   root     27372 Mar 25 15:08 ctlscript.sh
drwxr-xr-x  2 root   root      4096 Mar 25 15:09 docs
drwxrwxr-x  3 root   root      4096 Mar 25 15:08 error
drwxr-xr-x  8 root   root      4096 Mar 25 15:08 etc
drwxr-xr-x 14 nobody root      4096 Mar 25 15:43 htdocs
drwxr-xr-x  6 root   root      4096 Mar 25 15:08 htdocs_orig
drwxr-xr-x  3 root   root      4096 Mar 25 15:08 icons
drwxr-xr-x  2 root   root      4096 Mar 25 15:08 img
drwxr-xr-x 20 root   root     12288 Mar 25 15:09 include
drwxr-xr-x  2 root   root      4096 Mar 25 15:09 info
lrwxrwxrwx  1 root   root        16 Mar 25 15:09 lampp -> /opt/lampp/xampp
drwxr-xr-x 14 root   root     12288 Mar 25 15:09 lib
drwxr-xr-x  2 root   root      4096 Mar 25 15:08 libexec
drwxr-xr-x  2 root   root      4096 Mar 25 15:08 licenses
drwxr-xr-x  2 daemon daemon    4096 Mar 25 15:43 logs
drwxr-xr-x  7 root   root      4096 Mar 25 15:09 man
-rwx------  1 root   root   3361003 Jun 10  2013 manager-linux-x64.run
drwxr-xr-x 14 root   root     12288 Mar 25 15:09 manual
drwxr-xr-x  2 root   root      4096 Mar 25 15:09 modules
drwxr-xr-x  3 root   root      4096 Mar 25 15:08 mysql
drwxr-xr-x  2 root   root      4096 Mar 25 15:08 pear
drwxr-xr-x  3 root   root      4096 Mar 25 15:08 php
drwxr-xr-x  9 root   root      4096 Mar 25 15:08 phpmyadmin
drwxr-xr-x  3 root   root      4096 Mar 25 15:08 proftpd
-rw-r--r--  1 root   root       888 Mar 25 15:09 properties.ini
-rw-r--r--  1 root   root     73365 Nov 19 08:14 RELEASENOTES
drwxr-xr-x  2 root   root      4096 Mar 25 15:08 sbin
drwxr-xr-x 45 root   root      4096 Mar 25 15:09 share
drwxrwxrwx  2 daemon daemon    4096 Mar 25 15:08 temp
-rwx------  1 root   root   7968007 Mar 25 15:09 uninstall
-rw-------  1 root   root    257964 Mar 25 15:09 uninstall.dat
drwxr-xr-x  6 root   root      4096 Mar 25 15:43 var
-rwxr-xr-x  1 root   root     15201 Jul 22  2013 xampp
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apache 2 2.2.22 on bodhi (ubuntu 12.4) forbidden 403 Localhost mtotombogo Linux - Server 2 03-08-2015 03:49 AM
How to setup open Xampp localhost page..? nick.yadav Linux - Server 2 05-18-2011 12:47 AM
Getting "403 Forbidden" error when trying to install Mahara/Dolphin on localhost f.user Linux - Server 3 09-06-2009 08:08 AM
Nagios 403 Forbidden error in monitoring localhost mtimbro Linux - Software 4 06-12-2008 01:42 PM
xampp localhost problem - can't view pages Singist Linux - Networking 0 03-12-2006 06:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration