Moving the www.
Posted by: Szumdr (---.icpnet.pl)
Date: February 19, 2023 08:52AM

I've changed the DocumentRoot "${INSTALL_DIR}/www" line in the httpd-vhosts.conf file to my own path and unfortunately I'm getting a 403 error now. What else do I need to do to move the www directory to another partition?

Options: ReplyQuote
Re: Moving the www.
Posted by: Otomatic (Moderator)
Date: February 19, 2023 09:50AM

The VirtualHost localhost must remain as it is and never be modified!

You must create and use your own VirtualHost which can be anywhere.

See :
The need for Virtual Host
and
Wampserver 3 - Create or add a VirtualHost
and
Why to create a VirtualHost BEFORE installing a CMS

------------------------------------------------------------------------------------------------------------
Wampserver 3.3.0 32 bit - Apache 2.4.54.2 - PHP 8.2.4…7.4.33 - MySQL 5.7.40 - MariaDB 10.5.13/10.6.5
Wampserver 3.3.0 64 bit - Apache 2.4.54.2 - PHP 8.2.4…7.4.33 - MySQL 5.7.40/8.0.31 - MariaDB 10.5.17/10.10.2
PhPMyadmin 5.2.1 - MysqlDumper 1.24.5
on W10 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Options: ReplyQuote


Sorry, only registered users may post in this forum.