New site resulting as forbidden
Posted by: schwim (66.119.108.---)
Date: November 26, 2018 03:55PM

Hi there everyone!

I created a vhost and modified the vhosts file to add the alias and admin but after restarting the DNS, it results in a 403 forbidden locally and a non-connectable remotely.

I can access both localhost and localhost/phpmyadmin. It's my additional entry that's not working.

Here's my vhosts:

# Virtual Hosts
<VirtualHost *:80>
ServerName localhost
ServerAlias localhost
DocumentRoot "${INSTALL_DIR}/www"
<Directory "${INSTALL_DIR}/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local

<VirtualHost *:80>
DocumentRoot "c:/www/3amigos"
<Directory "c:/www/3amigos/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All

Thanks for your time!

Edited 2 time(s). Last edit at 11/26/2018 07:39PM by schwim.

Options: ReplyQuote
Re: New site resulting as forbidden
Posted by: RiggsFolly (Moderator)
Date: November 27, 2018 09:48AM


It looks like you removed the `Require` parameter from the new VH

If you want this site visible to all the internet then you need

    Require all granted

(Windows 10 Pro 64bit) (Wampserver 3.1.8 32bit & 64bit)
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 6.3.10>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your MySQL databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote

Sorry, only registered users may post in this forum.