How do you change path?
Posted by: 7TEC (51.241.115.---)
Date: January 29, 2021 10:07PM

So I'm new to this and I made a virtual host and when choosing the directory of it, I picked one folder back so when I load it, it doesn't load to the page I want it to. So is there any way to change the path of my virtual host?

Options: ReplyQuote
Re: How do you change path?
Posted by: Otomatic (Moderator)
Date: January 30, 2021 08:43AM

Hi,

Edit the file httpd-vhost.conf

Left-Click -> Apache -> httpd-vhost.conf

What is the content of this file?

Did you create this VirtualHost from the Add a VirtualHost page?

Instead of editing the httpd-vhosts.conf file, you can use the Add VirtualHost page:
- Left-Click -> Your VirtualHosts -> VirtualHost Management
- Suppress VirtualHost form
- Check the VirtualHost you want to suppress
- Suppress VirtualHost button

Then add the same VirtualHost but with the correct path

------------------------------------------------------------------------------------------------------------
Wampserver 3.2.4 32 bit - Apache 2.4.46c - PHP 8.0.2…5.6.40 - MySQL 5.7.33 - MariaDB 10.5.9
Wampserver 3.2.4 64 bit - Apache 2.4.46c - PHP 8.0.2…5.6.40 - MySQL 5.7.33/8.0.23 - MariaDB 10.5.9
PhPMyadmin 5.0.4 - MysqlDumper 1.24.5
on W10 and W7 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 »



Edited 1 time(s). Last edit at 01/30/2021 10:57AM by Otomatic.

Options: ReplyQuote


Sorry, only registered users may post in this forum.