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

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons



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.