• Resolved madness007

    (@madness007)


    Hi, i have a 403 error…
    i tried everything but it won’t help πŸ™
    I have windows server 2019 with xampp.
    it’s a local testserver so firewall is fully disabled.
    the xampp installation folder is located at my Desktop.
    inside there, I have 2 virtual hosts configured in the httpd-vhosts.conf:
    (I replaced the site names with the “HIDDEN”)
    ————————————————

    <VirtualHost *:80>
        ServerAdmin HIDDEN
        DocumentRoot "C:/Users/Administrator/Desktop/Xamp/virtualHosts/HIDDEN.site"
        ServerName HIDDEN.site
        ErrorLog "logs/HIDDEN.site-error.log"
        CustomLog "logs/HIDDEN.site-access.log" common
    
        <directory "C:/Users/Administrator/Desktop/Xamp/virtualHosts/HIDDEN.site">
            options Indexes
            Allowoverride All
            Require all granted
        </directory>
    </VirtualHost>
    
    <VirtualHost *:80>
        ServerAdmin webmaster@HIDDEN.site
        DocumentRoot "C:/Users/Administrator/Desktop/Xamp/virtualHosts/HIDDEN.site"
        ServerName HIDDEN.site
        ErrorLog "logs/HIDDEN.site-error.log"
        CustomLog "logs/HIDDEN.site-access.log" common
    
        <directory "C:/Users/Administrator/Desktop/Xamp/virtualHosts/HIDDEN.site">
            options Indexes
            Allowoverride All
            Require all granted
        </directory>
    </VirtualHost>

    ————————————————
    (yes the xamp is a typo :p it needs to be xampp but I’m too lazy to change all the config files)
    I then havea subfolder in the main xamp called “virtualHosts”, in there, I have 2 wordpress installations (each in separate folder). the 2 installs are for me and my friend.

    Everything works fine, but when i change the permalinks to something else, everything stops working, and i get a 403 error. when I delete the htacces file, it works again.

    I read on internet that this has to do with the permissions… so i gave “everyone” full acces in windows. (its a local testing server so no security risks.)
    still didn’t work… I then connected with filezilla and gave the whole xamp directory 777 permission. so including all the files/folders/subfolders.
    but I’m still getting stuck πŸ™
    this is my last hope.
    I can provide extra info and logs if needed. thx!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘403 error’ is closed to new replies.