Recent posts
#51
Apache 2.4 / Re: Reverse proxy with ssl on ...
Last post by mario - March 17, 2023, 08:54:25 AMFirst, you can run httpd.exe -S to do a syntax check.
Also what is in the D:/Apps/httpd-2.4.55-o111s-x64-vs17/Apache24/logs/error.log ?
Also what is in the D:/Apps/httpd-2.4.55-o111s-x64-vs17/Apache24/logs/error.log ?
#52
Apache 2.4 / Reverse proxy with ssl on Wind...
Last post by mapomme1108 - March 16, 2023, 10:16:23 PMHello,
I want to install a reverse proxy with ssl on Windows 11
For the moment, I use the ssl provided by apache but I plan to use Let's Encrypt
I use httpd-2.4.55-o111s-x64-vs17
I have created an apache service with this command :
I have commented out these modules in hppd.conf :
I have added this line in httpd.conf
I have created mysite.conf in conf/reverse_proxy
I tried to restart the Apache24 service but it failed.
If I disable proxy_balancer, the Apache24 service start but when I go to "https://localhost:9033"
there is a page saying that there is a web server error
Can you help me ?
Thanks
I want to install a reverse proxy with ssl on Windows 11
For the moment, I use the ssl provided by apache but I plan to use Let's Encrypt
I use httpd-2.4.55-o111s-x64-vs17
I have created an apache service with this command :
Code Select
httpd.exe -k install -n "Apache24"I have commented out these modules in hppd.conf :
Code Select
proxy proxy_ajp proxy_http rewrite deflate headers proxy_balancer proxy_connect proxy_html sslI have added this line in httpd.conf
Code Select
Include conf/reverse_proxy/*.confCode Select
Listen 9033I have created mysite.conf in conf/reverse_proxy
Code Select
<VirtualHost *:9033>
SSLEngine On
SSLCertificateFile "D:/Apps/httpd-2.4.55-o111s-x64-vs17/Apache24/conf/ssl/server.crt"
SSLCertificateKeyFile "D:/Apps/httpd-2.4.55-o111s-x64-vs17/Apache24/conf/ssl/server.key"
SSLProxyEngine on
ProxyPreserveHost On
ServerName xxx.xxx.xxx
ProxyPass / http://127.0.0.1:9038
ProxyPassReverse / http://127.0.0.1:9038
RequestHeader set X-Forwarded-Proto "https"
</VirtualHost>I tried to restart the Apache24 service but it failed.
If I disable proxy_balancer, the Apache24 service start but when I go to "https://localhost:9033"
there is a page saying that there is a web server error
Can you help me ?
Thanks

#53
Apache 2.4 / Re: Virtual hosts - Everything...
Last post by mario - March 08, 2023, 02:51:08 PMThank you for the feedback
#54
Apache 2.4 / Re: Virtual hosts - Everything...
Last post by Ewsg - March 08, 2023, 02:02:08 PMHi there,
Sorry for the delay.
Well, I ended discovering the problem. All because I didn't pay enough attention to error logs.
There was a line there referring to a problem with the WordFence plugin. But I had disabled all plugins, I thought. And sure I did!
But there was a .user.ini file I forgot, in the website public_html folder, which had related configurations and so the error was happening. Removed the lines and everything started working again!
Sorry for the delay.
Well, I ended discovering the problem. All because I didn't pay enough attention to error logs.
There was a line there referring to a problem with the WordFence plugin. But I had disabled all plugins, I thought. And sure I did!
But there was a .user.ini file I forgot, in the website public_html folder, which had related configurations and so the error was happening. Removed the lines and everything started working again!

#55
Apache 2.4 / Re: Virtual hosts - Everything...
Last post by mario - March 08, 2023, 09:13:33 AMIn your wp-config.php file
Look for define('WP_DEBUG', false); and change the false to true.
Look for define('WP_DEBUG', false); and change the false to true.
Code Select
define( 'WP_DEBUG', true );
#56
Apache 2.4 / Virtual hosts - Everything was...
Last post by Ewsg - March 07, 2023, 02:26:22 PMHello there!
I would love to count with your help if possible.
I am experiencing an issue here with my Linux/Apache server.
I had one website hosted until yesterday, using virtual host. So I've added a second website, and things started going wrong.
Well, the first website is ok, but the second one is not loading. I can see only a blank page. And it's a WordPress site, it's important to note, I think.
I can check the logs (access and error) but can't decide what is wrong or not.
Also, I am posting both virtual hosts files so you could take a look and maybe try to see what is wrong, if possible:
Vhost site 1
Vhost site 2
Well, I would really appreciate any help because I am a little lost here.
Thanks in advance.
I would love to count with your help if possible.
I am experiencing an issue here with my Linux/Apache server.
I had one website hosted until yesterday, using virtual host. So I've added a second website, and things started going wrong.
Well, the first website is ok, but the second one is not loading. I can see only a blank page. And it's a WordPress site, it's important to note, I think.
I can check the logs (access and error) but can't decide what is wrong or not.
Also, I am posting both virtual hosts files so you could take a look and maybe try to see what is wrong, if possible:
Vhost site 1
Code Select
<VirtualHost *:80>
# The ServerName directive sets the request scheme, hostname and port that
# the server uses to identify itself. This is used when creating
# redirection URLs. In the context of virtual hosts, the ServerName
# specifies what hostname must appear in the request's Host: header to
# match this virtual host. For the default virtual host (this file) this
# value is not decisive as it is used as a last resort host regardless.
# However, you must set it for any further virtual host explicitly.
ServerName domain1.com
ServerAlias www.domain1.com
Protocols h2 http/1.1
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html/domain1.com/public_html
<Directory /var/www/html/domain1.com/public_html>
Options -Indexes +FollowSymLinks
AllowOverride All
Require all granted
</Directory>
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg.
# It is also possible to configure the loglevel for particular
# modules, e.g.
#LogLevel info ssl:warn
ErrorLog /var/www/html/domain1.com/logs/error.log
CustomLog /var/www/html/domain1.com/logs/access.log combined
# For most configuration files from conf-available/, which are
# enabled or disabled at a global level, it is possible to
# include a line for only one particular virtual host. For example the
# following line enables the CGI configuration for this host only
# after it has been globally disabled with "a2disconf".
#Include conf-available/serve-cgi-bin.conf
<Location /server-status>
SetHandler server-status
Order Deny,Allow
Deny from all
Allow from localhost
</Location>
RewriteEngine on
RewriteCond %{SERVER_NAME} =www.domain1.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
<Directory /var/www/html/domain1.com/public_html/>
Require all granted
AllowOverride All
</Directory>
</VirtualHost>Vhost site 2
Code Select
<VirtualHost *:80>
# The ServerName directive sets the request scheme, hostname and port that
# the server uses to identify itself. This is used when creating
# redirection URLs. In the context of virtual hosts, the ServerName
# specifies what hostname must appear in the request's Host: header to
# match this virtual host. For the default virtual host (this file) this
# value is not decisive as it is used as a last resort host regardless.
# However, you must set it for any further virtual host explicitly.
ServerName domain2.com
ServerAlias www.domain2.com
Protocols h2 http/1.1
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html/domain2.com/public_html
<Directory /var/www/html/domain2.com/public_html>
Options -Indexes +FollowSymLinks
AllowOverride All
Require all granted
</Directory>
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg.
# It is also possible to configure the loglevel for particular
# modules, e.g.
#LogLevel info ssl:warn
ErrorLog /var/www/html/domain2.com/logs/error.log
CustomLog /var/www/html/domain2.com/logs/access.log combined
# For most configuration files from conf-available/, which are
# enabled or disabled at a global level, it is possible to
# include a line for only one particular virtual host. For example the
# following line enables the CGI configuration for this host only
# after it has been globally disabled with "a2disconf".
#Include conf-available/serve-cgi-bin.conf
RewriteEngine on
RewriteCond %{SERVER_NAME} =www.domain2.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>
Well, I would really appreciate any help because I am a little lost here.

Thanks in advance.
#57
News & General Discussion / Re: OpenSSL 3.0
Last post by Marc - March 07, 2023, 08:32:00 AMThank you Mario.
I've switched to Apache Lounge and it's fine.
Take care,
Marc
I've switched to Apache Lounge and it's fine.
Take care,
Marc
#58
Announcements / Re: Apache Haus project is on ...
Last post by mario - February 27, 2023, 12:19:49 PM In the meantime, you can get updates from Apache Lounge. Their binaries are 100% compatible with ours.
#59
News & General Discussion / Re: OpenSSL 3.0
Last post by mario - February 27, 2023, 12:19:34 PMWe are sorry, but Apache Haus project is on hold.
In the meantime, you can get updates from Apache Lounge. Their binaries are 100% compatible with ours.
In the meantime, you can get updates from Apache Lounge. Their binaries are 100% compatible with ours.
#60
Announcements / Apache Haus project is on hold
Last post by dj02 - February 27, 2023, 08:56:26 AMHi all users,
do to personal reasons at least for now our Apache Haus project is on hold. So no new updates are coming from now on. We hopefully will return in future. Forum will be kept open normally and also previous downloads will be kept available.
do to personal reasons at least for now our Apache Haus project is on hold. So no new updates are coming from now on. We hopefully will return in future. Forum will be kept open normally and also previous downloads will be kept available.