LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-05-2015, 10:35 AM   #1
mtotombogo
LQ Newbie
 
Registered: Sep 2009
Posts: 6

Rep: Reputation: 0
apache 2 2.2.22 on bodhi (ubuntu 12.4) forbidden 403 Localhost


Hello

been trying to get localhost to fire up all day..
apache says its working fine on the generic localhost.

'It works!

This is the default web page for this server.

The web server software is running but no content has been added, yet.'

I have followed the Ubuntu tutorial, https://help.ubuntu.com/community/ApacheMySQLPHP

but even though mysite.config is created, I am not seeing the 000-default disabled, it still appears to be the default page.

I currently have default, default-ssl and mysite conf in the available sites, and default in the sites-enabled after running sudo a2dissite 000-default && sudo a2ensite mysite as per the tutorial.

thanks for any input, been surprised how little I could find on this after looking all day. I've been trying to aviod xampp so that I can better learn apache.
 
Old 03-07-2015, 03:48 AM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,635

Rep: Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652
is there a user named "apache" and are the apache related files and folders owned by that user ?

the out of the box ( default installed by the distro / package manager) will show the Apache " success" html page on
http://127.0.0.1:80
and the second option on port 8080

to make changes the httpd.conf file is 95 documentation
also be aware that 2.2 is OLD - supported but OLD
do not expect to do many "new fangled things"

see the documentation web pages
http://httpd.apache.org/docs/2.2/
-- think of them as your FINAL exam study material
 
Old 03-08-2015, 03:49 AM   #3
mtotombogo
LQ Newbie
 
Registered: Sep 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks for the response, I think I'm going to have to try and do a clean uninstall and use XAMPP for now.
I'll try and get a virtual box setup to play around with the adult version later and maybe see if I can get a setup that will support the latest version. Because of a lot of travelling, I'm just using Bodhi on a 16gb chromebook right now, so not really much scope for testing.
My setup seems a bit confusing, even though its listing as ver. 2.2 the httpd.conf is empty so appears to be using the newer setup. anyway, will come back to this later! too many variables!
(have bookmarked the apache documentation path though
 
  


Reply

Tags
apache2, localhost


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
[SOLVED] Apache - 403 Forbidden / madsovenielsen Slackware 3 08-10-2011 02:44 PM
Nagios 403 Forbidden error in monitoring localhost mtimbro Linux - Software 4 06-12-2008 01:42 PM
Apache 403 Forbidden mrmike Linux - Newbie 3 07-10-2004 11:31 AM
Apache Webserver 403 Forbidden Errors (User not in apache group?) Mankind75 Mandriva 4 07-08-2004 05:30 AM
Apache 403 Forbidden quozt Linux - Networking 10 02-24-2004 04:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:46 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