lamp, Xamp apache issue

Discussion and support for all Linux distributions and Unix flavours (FreeBSD, OpenBSD, etc).
Post Reply
SBSP
Registered User
Posts: 3124
Joined: 09 May 2006, 02:00
Location: Centurion

lamp, Xamp apache issue

Post by SBSP »

I have xamp installed but when i try to access the server from a remote machine
I get the following error.

Forbidden
You don't have permission to access / on this server.


--------------------------------------------------------------------------------

Apache/2.2.8 (Unix) DAV/2 mod_ssl/2.2.8 OpenSSL/0.9.8e PHP/5.2.5 mod_apreq2-20051231/2.6.0 mod_perl/2.0.2 Perl/v5.10.0 Server at xx.xx.xx.xx Port 80
I have checked the httpd.conf file and it has the "allow from all" setting set.
I also did a chmod 775 -R /opt/lampp/htdocs

And i made sure i restarted the server after every change.
/opt/lampp/lampp stop
and
/opt/lampp/lampp start

and i still get the same errors.

In wamp (Apache for windows) you can access the page from ip 127.0.0.1 but not from a remote ip.
If you want to have it display pages for remote ip's you have to put it online.
I'm sure this configures something in apache and this is what i need to configure before lampp will run.

By the way LAMPP is combined install (MySQL,PHP5,apache) just like Wamp.
doo_much
Registered User
Posts: 26022
Joined: 13 May 2004, 02:00
Location: Getting there...
Contact:

Re: lamp, Xamp apache issue

Post by doo_much »

PM me your "conf/httpd.conf" file.
MOOD - Thirsty

A surprising amount of modern pseudoscience is coming out of the environmental sector. Perhaps it should not be so surprising given that environmentalism is political rather than scientific.
Timothy Casey
SBSP
Registered User
Posts: 3124
Joined: 09 May 2006, 02:00
Location: Centurion

Re: lamp, Xamp apache issue

Post by SBSP »

Ah man I wish i could its slax inside a virtual machine.
doo_much
Registered User
Posts: 26022
Joined: 13 May 2004, 02:00
Location: Getting there...
Contact:

Re: lamp, Xamp apache issue

Post by doo_much »

Faark, I'd have compared to mine - have no probs with network in XAMPP.

Try this?
MOOD - Thirsty

A surprising amount of modern pseudoscience is coming out of the environmental sector. Perhaps it should not be so surprising given that environmentalism is political rather than scientific.
Timothy Casey
SBSP
Registered User
Posts: 3124
Joined: 09 May 2006, 02:00
Location: Centurion

Re: lamp, Xamp apache issue

Post by SBSP »

Ive tried that still no luck :(
doo_much
Registered User
Posts: 26022
Joined: 13 May 2004, 02:00
Location: Getting there...
Contact:

Re: lamp, Xamp apache issue

Post by doo_much »

I'm doing the Google thing... :mrgreen:
MOOD - Thirsty

A surprising amount of modern pseudoscience is coming out of the environmental sector. Perhaps it should not be so surprising given that environmentalism is political rather than scientific.
Timothy Casey
SBSP
Registered User
Posts: 3124
Joined: 09 May 2006, 02:00
Location: Centurion

Re: lamp, Xamp apache issue

Post by SBSP »

I'm going to try and install apache manually then test again maybe there is a problem with the package
SBSP
Registered User
Posts: 3124
Joined: 09 May 2006, 02:00
Location: Centurion

Re: lamp, Xamp apache issue

Post by SBSP »

doo_much wrote:I'm doing the Google thing... :mrgreen:
Ive googled beleive me.

Some people have the same issue and recon its a bug in lampp
SBSP
Registered User
Posts: 3124
Joined: 09 May 2006, 02:00
Location: Centurion

Re: lamp, Xamp apache issue

Post by SBSP »

I found the problem :evil:

Its because i created my own folders with in the htdocs directory and the user: nobody didnt have access to it.
Only root had access

And apache is set to use the user nobody to access the folder and apache dont like running as root.

Ive tried :oops:

Simple as that :mrgreen:
doo_much
Registered User
Posts: 26022
Joined: 13 May 2004, 02:00
Location: Getting there...
Contact:

Re: lamp, Xamp apache issue

Post by doo_much »

And thus we live and learn!
MOOD - Thirsty

A surprising amount of modern pseudoscience is coming out of the environmental sector. Perhaps it should not be so surprising given that environmentalism is political rather than scientific.
Timothy Casey
Post Reply