Doubt xampp directory

Asked

Viewed 195 times

0

I have a question regarding shamans.

I have a folder in htdocs inside the xampp directory.

The doubt is as follows:

When I access this folder from the web for example: https:/localhost/myhost does not even load a JS on the page. But when direct access like this : localhost/minhapasta charges normally.

Why does this happen? And how to remedy ?

  • Look at the first example is https the second http only.

  • Yeah, except there was more than one folder inside htdocs, then when I go into another for example localhost/path2 he goes straight to the "Minhapasta". Ai se por o https:// in front he goes to "myhome2" only he doesn’t even carry a JS.

1 answer

3


I found the solution in Stackoverflow in English (because I use Xampp) and translate it freely:

"Find the file "httpd-ssl.conf", below the comment "SSL Virtual Host Context", which is under port 443 (https), is searched in a different directory, then simply change the "Document root" to the same directory and the problem will be solved."

Browser other questions tagged

You are not signed in. Login or sign up in order to post.