can't load root of wamp server
Posted by: farbodkain (5.238.216.---)
Date: June 12, 2017 07:29PM

hi, i installed wamp server 3.0.6 on my windows 8.1 and everything worked perfect and i don't remember when this problem happen. i can't access to my root of wamp server location and any of my project. i using virtual directory for my projects.

so let me example my problem. when i try to access localhost:8282/ ( my wamp server) instead of index page i have list of all files. or if i try to access myproject:8282 i just got list of my files inside that project folder.

if i want to see index of localhost or any of my projects ,i have to add "index.php" at the end of url. like this "localhost:8282/index.php" or "myproject:8282/index.php" and index page load without problem.

i can access to my other link without problem, i mean i can go to "myproject:8282/art/1" without add "index.php" to my url.

i don't know this error related to my problem or not but when i load localhost:8282/index.php on bottom of page getting this error:

"The number of <Directory or </Directory> does not match the number of ServerName in c:/wamp/bin/apache/apache2.4.23/conf/extra/httpd-vhosts.conf file"

and here it is my wamp server details:

apache 2.423
php 5.6.25
mysql 5.7.14
and my wamp server is 32bit 3.0.6

i really appreciated for any help.

Options: ReplyQuote
Re: can't load root of wamp server
Posted by: Otomatic (Moderator)
Date: June 12, 2017 09:07PM

Hi,

> localhost:8282
Why 8282 ?
Port 80 is the devolved port reserved for the http protocol.
If an application uses port 80, it is for this application that the port needs to be changed and not for the http protocol.
In addition, using port 8282, are you sure you have specified this port number wherever you need it?

------------------------------------------------------------------------------------------------------------
(W7 Pro 64 bit)-Wampserver 3.0.9 32 bit - Apache 2.4.26 - PHP 7.1.6/7.0.20/5.6.30 - MySQL 5.7.18 - MariaDB 10.2.6
Wampserver 3.0.9 64 bit - Apache 2.4.26 - PHP 7.1.6/7.0.20/5.6.30 - MySQL 5.7.18 - MariaDB 10.2.6
PhPMyAdmin 4.7.1 - MysqlDumper 1.24.5

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 »



Edited 1 time(s). Last edit at 06/12/2017 09:34PM by Otomatic.

Options: ReplyQuote
Re: can't load root of wamp server
Posted by: farbodkain (2.176.167.---)
Date: June 13, 2017 07:20AM

Otomatic Wrote:
-------------------------------------------------------
> Hi,
>
> > localhost:8282
> Why 8282 ?
> Port 80 is the devolved port reserved for the http
> protocol.
> If an application uses port 80, it is for this
> application that the port needs to be changed and
> not for the http protocol.
> In addition, using port 8282, are you sure you
> have specified this port number wherever you need
> it?

im using IIS too , some of my project working with IIS and 80 used for that purpose. as i said before everything working great until recently

Options: ReplyQuote


Sorry, only registered users may post in this forum.