403 forbiden or re-direct error

Problems with the Windows version of XAMPP, questions, comments, and anything related.

403 forbiden or re-direct error

Postby AdamsL » 30. January 2024 21:44

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.
AdamsL
 
Posts: 2
Joined: 30. January 2024 21:35
XAMPP version: 8.2.12
Operating System: Windows Server 2022

Re: 403 forbiden or re-direct error

Postby Nobbie » 31. January 2024 01:00

/htdocs/lts is not /www/lts
Nobbie
 
Posts: 13176
Joined: 09. March 2008 13:04

Re: 403 forbiden or re-direct error

Postby AdamsL » 01. February 2024 17:51

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
AdamsL
 
Posts: 2
Joined: 30. January 2024 21:35
XAMPP version: 8.2.12
Operating System: Windows Server 2022


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 189 guests