Yeah, sorry, I'm a little p***ed because nothing works.
vhosts-conf
---------
# Virtual Hosts
#
<VirtualHost *:80>
ServerName localhost
ServerAlias localhost
DocumentRoot "c:/wamp64/www"
<Directory "c:/wamp64/www/">
AllowOverride All
Options +Includes +FollowSymLinks
Require local
</Directory>
</VirtualHost>
-----
SSL-conf
Listen 0.0.0.0:443
Listen [::0]:443
<VirtualHost *:443>
ServerName www.example.shop
ServerAlias www.example.shop
SSLEngine on
SSLCertificateFile "c:/Certbot/live/www.example.shop/fullchain.pem"
SSLCertificateKeyFile "c:/Certbot/live/www.example.shop/privkey.pem"
DocumentRoot c:/wamp64/www/example
<Directory "c:/wamp64/www/example/">
Require all granted
Options +Includes +FollowSymLinks
AllowOverride All
</Directory>
</VirtualHost>
httpd-conf
ServerName www.example.shop:80
ServerName www.example.shop:443
now if I change the root dir to the old one, it was "c:/wamp64/www/ps1801" then everything works.
but the new docroot is "c:/wamp64/www/example/"
When I type the url "[
www.example.shop]; (to get in back offince f.e.) I get a 301 or 302 to
"localhost/ps1801/adminfoo"

Edited 1 time(s). Last edit at 03/09/2023 09:42AM by HolyMoly.