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.

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?

------------------------------------------------------------------------------------------------------------
Wampserver 3.2.4 32 bit - Apache 2.4.46a - PHP 7.4.12…5.6.40 - MySQL 5.7.31 - MariaDB 10.5.8
Wampserver 3.2.4 64 bit - Apache 2.4.46a - PHP 7.4.12…5.6.40 - MySQL 5.7.31/8.0.21 - MariaDB 10.5.8
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 »

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.

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.2.0 32bit & 64bit)
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.19>

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-

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.

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.2.0 32bit & 64bit)
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.19>

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-

Sorry, only registered users may post in this forum.