403 Forbidden
Posted by: WynnBeattie@gmail.com (---.dhcp.stls.mo.charter.com)
Date: October 07, 2015 03:13PM

!! LocalHost alias Worked for me 2.4.9 I tried changing the httpd.conf every way.
Mind you I am not allowing access from outside the router, just my local network for iphone testing
I will have to tighten it up when I allow port fordwarding I believe. I will happily accept that advise here.

I have it working with the alias and this settings
<Directory />
AllowOverride None
Order deny,allow
Allow from All
</Directory>

# onlineoffline tag - don't remove
order allow,deny
Deny from all
# make sure space between ::1 IPV6 access
Allow from 127.0.0.1 ::1
# Allow from 127.0.0.1
</Directory>



Edited 1 time(s). Last edit at 10/07/2015 03:42PM by Otomatic.

Options: ReplyQuote
Re: 403 Forbidden
Posted by: Otomatic (Moderator)
Date: October 07, 2015 03:49PM

Hi,

Please, answer to : READ BEFORE YOU ASK A QUESTION
and explain exactly what is your problem.

Note: Order deny,allow and Allow from All and Allow from 127.0.0.1 ::1 are for Apache 2.2. It not the correct syntax for Apache 2.4.

> <Directory />
> AllowOverride None
> Order deny,allow
> Allow from All
> </Directory>
NEVER modifiy httpd.conf like this way unless you want the whole world to have access to all your files and folders.

You need to use VirtualHost: The need for Virtual Host

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote


Sorry, only registered users may post in this forum.