base href + Link in html subdomain goes to live site
Posted by: Jaiket (---.subs.proxad.net)
Date: February 25, 2024 11:44PM

Hi
Cool tool, thanks.
EDIT: I just found this "READ (and answer) BEFORE YOU ASK A QUESTION ". I'll do that and come back to this post.


Newby here with Wamp 3.3.0.
I built an html only site on a subdomain so I don't use www folders, (if that's relevant).
The virtual server works fine if I comment out my base href, but if I leave it in place, the links go to the live site.

I can't find a solution which doesn't talk about php or mention an option in wampmanager.conf which is not present in my version of wamp.

I could just comment out the base href, but my geek mate says that I should look for robust solutions, not workarounds.



Edited 1 time(s). Last edit at 02/25/2024 11:47PM by Jaiket.

Options: ReplyQuote
Re: base href + Link in html subdomain goes to live site
Posted by: Otomatic (Moderator)
Date: February 26, 2024 08:39AM

Hi,

- What is the result of Right-Click -> Tools -> Apache tools -> Show VirtualHost examined by Apache

- What is the contents of: wamp64\bin\apache\apache2.4.58\conf\extra\httpd-vhosts.conf file

What do you mean by "I comment out my base href"?

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

Options: ReplyQuote


Sorry, only registered users may post in this forum.