Emergency problems Wampserver 3.2.3
Posted by: Victor Pittol (---.109.58-96.dyn.dsl.cantv.net)
Date: June 22, 2021 04:28PM

- Uso Wampserver 3.2.3 + apache 2.4.46

- windows 10 + firewall acces port 80.

- file host:

127.0.0.1 soluciones-ahora.ddns.net
::1 soluciones-ahora.ddns.net

127.0.0.1 localhost
::1 localhost

127.0.0.1 wordpress
::1 wordpress

127.0.0.1 siscon-c
::1 siscon-c

- no-ip, ya que tengo ip dinamicas: soluciones-ahora.ddns.net

Antecedentes:

verifique reverso del ddns a ip local y remoto: OKpuedo hacer ping rdp etc.

puertos escucha Apache 80: Ok. Use para verificarlo netstat -anb

mi virtual httpd-vhosts: es:

VirtualHost *:80>
ServerName localhost
ServerAlias soluciones-ahora.ddns.net localhost
DocumentRoot "${INSTALL_DIR}/www"
<directory "${install_dir}="" www="" "="">
    Options +Indexes +Includes +FollowSymLinks +MultiViews
    AllowOverride All
    # Require local
    Require all granted
</directory>
</virtualhost>

Mi archivo httpd:
#Listen 12.34.56.78:80
Listen 0.0.0.0:80
Listen [::0]:80
ServerName soluciones-ahora,ddns.net:80
<directory/>
AllowOverride none
Require all denied
</directory>
DocumentRoot "${INSTALL_DIR}/www"
<directory "${install_dir}="" www="" "="">
AllowOverride all
#Require Local
Require all granted
</directory>

# Virtual hosts
Include conf/extra/httpd-vhosts.conf

Problema:

Localmente y desde otras maquinas Ok, Al intentar ingreso externamente devuelve mensaje err_connection:timeout,
Locally and from other machines Ok, When trying to enter externally it returns message err_connection: timeout,

Gracias



Edited 1 time(s). Last edit at 06/22/2021 04:45PM by RiggsFolly.

Options: ReplyQuote
Re: Emergency problems Wampserver 3.2.3
Posted by: RiggsFolly (Moderator)
Date: June 22, 2021 04:46PM

STart again, after reading The need for Virtual Hosts

There are no changes required in httpd.conf to make this work happily

---------------------------------------------------------------------------------------------
(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: Emergency problems Wampserver 3.2.3
Posted by: Victor Pittol (---.109.58-96.dyn.dsl.cantv.net)
Date: June 22, 2021 06:29PM

Hi, continued problem of connection error. require all granted no accept connections for port 80 of apache, helpme. the configuration of the file httpd-vhosts and httpd is Ok?

Options: ReplyQuote
Re: Emergency problems Wampserver 3.2.3
Posted by: RiggsFolly (Moderator)
Date: June 22, 2021 06:46PM

The Virtual Host definition is NOT OK!!!!!

ServerName localhost
ServerAlias soluciones-ahora.ddns.net localhost

IS WRONG

Try
ServerName  soluciones-ahora.ddns.net
ServerAlias  soluciones-ahora.ddns.net


See anotation for what wrong in the httpd.conf file below

#Listen 12.34.56.78:80
Listen 0.0.0.0:80
Listen [::0]:80

#This next line IS WRONG - REMOVE IT
ServerName soluciones-ahora,ddns.net:80

<directory/>
AllowOverride none
Require all denied
</directory>

DocumentRoot "${INSTALL_DIR}/www"

#THIS NEXT LINE IS NONSENCE Remove it
<directory "${install_dir}="" www="" "="">

AllowOverride all

#RESTORE THIS NEXT LINE
#Require Local

#REMOVE THIS NEXT LINE This instruction geos in the Virtual Host definition
Require all granted
</directory>

# Virtual hosts
Include conf/extra/httpd-vhosts.conf

---------------------------------------------------------------------------------------------
(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-



Edited 5 time(s). Last edit at 06/23/2021 10:56AM by RiggsFolly.

Options: ReplyQuote
Re: Emergency problems Wampserver 3.2.3
Posted by: Victor Pittol (---.109.58-96.dyn.dsl.cantv.net)
Date: June 22, 2021 07:26PM

quiero es dar permiso al localhost. Corregi el index a:
<?php
header("Status: 301 Moved Permanently"winking smiley;
header("Location: [soluciones-ahora.ddns.net]winking smiley;
exit;
?>

para al ingresar redirecciones a mi pagina en wordpress. Localmente lo hace Ok.

Options: ReplyQuote


Sorry, only registered users may post in this forum.