Page 1 of 1

403 forbiden or re-direct error

PostPosted: 30. January 2024 21:44
by AdamsL
I have created a wordpress site using XAMPP. When accessing it it would just take me to the Dashboard.

Code: Select all
<VirtualHost *:80>
    ServerName www.liamstechsupport.co.uk
    ServerAlias liamstechsupport.co.uk
    DocumentRoot "/www/lts"
</VirtualHost>
I then tried adding a VHost as above and it now says 403 Forbidden. (In the Extra v-host config file)

I then tried adding this to the main config:

Code: Select all
<Directory "\htdocs\lts">
    Options Indexes FollowSymLinks Includes ExecCGI
    AllowOverride All
    Require all granted
</Directory>
This just came up with the Requested URL was not found on the server.

Re: 403 forbiden or re-direct error

PostPosted: 31. January 2024 01:00
by Nobbie
/htdocs/lts is not /www/lts

Re: 403 forbiden or re-direct error

PostPosted: 01. February 2024 17:51
by AdamsL
I changed it to what you said and now got:

Error 404
Not Found
The requested URL was not found on this server.


Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.2.12 Server at liamstechsupport.co.uk Port 80