Index of /
Posted by: mycdnprince (---.lb.shawcable.net)
Date: July 15, 2020 05:48PM

Suddenly I'm getting 'Index of /' instead of wampserver localhost page or any of my virtual host pages.

Options: ReplyQuote
Re: Index of /
Posted by: Otomatic (Moderator)
Date: July 15, 2020 06:50PM

Hi,

Is there an index.php file at the root of your local sites?

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

Options: ReplyQuote
Re: Index of /
Posted by: mycdnprince (---.lb.shawcable.net)
Date: July 15, 2020 08:13PM

Hi, thanks for answering.
I have an index.php file in c:/wamp64/www/. But I also have one on F:/Sites/ where my virtual host sites are stored.

Options: ReplyQuote
Re: Index of /
Posted by: RiggsFolly (Moderator)
Date: July 16, 2020 03:28AM

Please show you httpd-vhosts.conf file

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: Index of /
Posted by: mycdnprince (---.lb.shawcable.net)
Date: July 17, 2020 02:37AM

Here you go, thanks for helping..

# Virtual Hosts
#
<VirtualHost *:80>
  ServerName localhost
  ServerAlias localhost
  DocumentRoot "${INSTALL_DIR}/www"
  <Directory "${INSTALL_DIR}/www/">
    Options +Indexes +Includes +FollowSymLinks +MultiViews
    AllowOverride All
    Require local
  </Directory>
</VirtualHost>


#
<VirtualHost *:80>
	ServerName lwc
	DocumentRoot "F:/Sites/lwc"
	<Directory  "F:/Sites/lwc/">
		Options +Indexes +Includes +FollowSymLinks +MultiViews
		AllowOverride All
		Require local
	</Directory>
</VirtualHost>


#
<VirtualHost *:80>
	ServerName wpclass
	DocumentRoot "F:/Sites/wpclass"
	<Directory  "F:/Sites/wpclass/">
		Options +Indexes +Includes +FollowSymLinks +MultiViews
		AllowOverride All
		Require local
	</Directory>
</VirtualHost>


#
<VirtualHost *:80>
	ServerName mycdnprince
	DocumentRoot "F:/Sites/mycdnprince"
	<Directory  "F:/Sites/mycdnprince/">
		Options +Indexes +Includes +FollowSymLinks +MultiViews
		AllowOverride All
		Require local
	</Directory>
</VirtualHost>


#
<VirtualHost *:80>
	ServerName wpblog
	DocumentRoot "F:/Sites/wpblog"
	<Directory  "F:/Sites/wpblog/">
		Options +Indexes +Includes +FollowSymLinks +MultiViews
		AllowOverride All
		Require local
	</Directory>
</VirtualHost>


#
<VirtualHost *:80>
	ServerName mr-sport
	DocumentRoot "f:/sites/mr-sport"
	<Directory  "f:/sites/mr-sport/">
		Options +Indexes +Includes +FollowSymLinks +MultiViews
		AllowOverride All
		Require local
	</Directory>
</VirtualHost>



Edited 1 time(s). Last edit at 07/17/2020 12:39PM by RiggsFolly.

Options: ReplyQuote
Re: Index of /
Posted by: RiggsFolly (Moderator)
Date: July 17, 2020 12:42PM

Can you supply the Full and unamended error message

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote


Sorry, only registered users may post in this forum.