Recent posts
#1
News & General Discussion / Re: Issues with Apache HTTP Se...
Last post by DnvrSysEngr - October 20, 2024, 07:50:39 PMHave you looked in your Windows Event Viewer for clues?
#2
News & General Discussion / Issues with Apache HTTP Server...
Last post by dereektheler - October 12, 2024, 01:16:48 PMHey everyone,
I am setting up Apache HTTP Server on a Windows environment and I have hit a snag with the configuration. After installing the latest version from Apache Haus.., I followed the setup guide but I am running into issues when trying to get the server to start.
I have already done this
Downloaded Apache from Apache Haus.
Unzipped and configured the httpd.conf file to match my setup.
Tried running httpd.exe -k start from the command line.
But I keep getting an error saying the server can't start due to a missing module or incorrect configuration. I have double checked the syntax using httpd.exe -t..., but everything looks fine.
Has anyone faced this issue before: ?? Any advice on how to troubleshoot this: ?? I am running Windows 10 and I have no other web servers installed that could cause conflicts.
Thanks in advance! Would really appreciate any tips !!!
With Regards,
DerekFlutter
I am setting up Apache HTTP Server on a Windows environment and I have hit a snag with the configuration. After installing the latest version from Apache Haus.., I followed the setup guide but I am running into issues when trying to get the server to start.
I have already done this
Downloaded Apache from Apache Haus.
Unzipped and configured the httpd.conf file to match my setup.
Tried running httpd.exe -k start from the command line.
But I keep getting an error saying the server can't start due to a missing module or incorrect configuration. I have double checked the syntax using httpd.exe -t..., but everything looks fine.
Has anyone faced this issue before: ?? Any advice on how to troubleshoot this: ?? I am running Windows 10 and I have no other web servers installed that could cause conflicts.
Thanks in advance! Would really appreciate any tips !!!
With Regards,
DerekFlutter
#3
News & General Discussion / Re: Old timer need some help w...
Last post by dereektheler - October 11, 2024, 05:37:38 AMQuote from: mario on September 08, 2024, 06:17:49 PMHi John,
setting that up isn't hard.
First global config for ssl.Code SelectLoadModule headers_module modules/mod_headers.so
LoadModule ssl_module modules/mod_ssl.so
LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
<IfModule mod_headers.c>
# Header always set Strict-Transport-Security "max-age=15553000;"
# Header always set Strict-Transport-Security "max-age=1;"
</IfModule>
Listen 443
SSLUseStapling On
SSLSessionCache shmcb:C:/Windows/Temp/ssl_gcache_data(512000)
SSLStaplingCache shmcb:C:/Windows/Temp/ssl_stapling_data(512000)
SSLOptions +StrictRequire +StdEnvVars -ExportCertData
SSLProtocol -all +TLSv1.2 +TLSv1.3
SSLCompression Off
SSLHonorCipherOrder On
SSLCipherSuite SSL ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384
SSLCipherSuite TLSv1.3 TLS_CHACHA20_POLY1305_SHA256:TLS_AES_256_GCM_SHA384
SSLOpenSSLConfCmd ECDHParameters secp384r1
SSLOpenSSLConfCmd Curves sect571r1:sect571k1:secp521r1:sect409k1:sect409r1:secp384r1
SSLOpenSSLConfCmd SignatureAlgorithms rsa_pss_rsae_sha512:rsa_pss_rsae_sha256:ECDSA+SHA512:ECDSA+SHA256:RSA+SHA512:RSA+SHA256
SSLOpenSSLConfCmd ClientSignatureAlgorithms rsa_pss_rsae_sha512:rsa_pss_rsae_sha256:ECDSA+SHA512:ECDSA+SHA256:RSA+SHA512:RSA+SHA256
Then in your vhostsCode Select<VirtualHost *:443>
ServerName other.example.com
DirectoryIndex index.php
<IfModule fcgid_module>
FcgidInitialEnv PHPRC "C:/php8"
FcgidInitialEnv PATH "C:\\php8;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;"
FcgidInitialEnv SystemRoot "C:\\Windows"
FcgidInitialEnv SystemDrive "C:"
FcgidInitialEnv TEMP "C:\\WINDOWS\\TEMP"
FcgidInitialEnv TMP "C:\\WINDOWS\\TEMP"
FcgidInitialEnv windir "C:\\WINDOWS"
FcgidPassHeader Authorization
<Files ~ "\.php$">
Options Indexes FollowSymLinks ExecCGI
AddHandler fcgid-script .php
FcgidWrapper "C:/php8/php-cgi.exe" .php
</Files>
</IfModule>
CustomLog "C:\nul" common
DocumentRoot "C:/other"
<Directory "C:/other">
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php [QSA]
</Directory>
SSLEngine on
SSLCertificateFile conf/certs/internal/fullchain.pem
SSLCertificateKeyFile conf/certs/internal/privkey.pem
<Files ~"\.(cgi|shtml|phtml|php|htm|html?)$>
SSLOptions +StdEnvVars
</Files>
</VirtualHost>
if you still have a question please ask again.
Thank you for sharing this guide, this is really a very helpful guide.

#4
News & General Discussion / Re: Old timer need some help w...
Last post by mario - September 08, 2024, 06:17:49 PMHi John,
setting that up isn't hard.
First global config for ssl.
Then in your vhosts
if you still have a question please ask again.
setting that up isn't hard.
First global config for ssl.
Code Select
LoadModule headers_module modules/mod_headers.so
LoadModule ssl_module modules/mod_ssl.so
LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
<IfModule mod_headers.c>
# Header always set Strict-Transport-Security "max-age=15553000;"
# Header always set Strict-Transport-Security "max-age=1;"
</IfModule>
Listen 443
SSLUseStapling On
SSLSessionCache shmcb:C:/Windows/Temp/ssl_gcache_data(512000)
SSLStaplingCache shmcb:C:/Windows/Temp/ssl_stapling_data(512000)
SSLOptions +StrictRequire +StdEnvVars -ExportCertData
SSLProtocol -all +TLSv1.2 +TLSv1.3
SSLCompression Off
SSLHonorCipherOrder On
SSLCipherSuite SSL ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384
SSLCipherSuite TLSv1.3 TLS_CHACHA20_POLY1305_SHA256:TLS_AES_256_GCM_SHA384
SSLOpenSSLConfCmd ECDHParameters secp384r1
SSLOpenSSLConfCmd Curves sect571r1:sect571k1:secp521r1:sect409k1:sect409r1:secp384r1
SSLOpenSSLConfCmd SignatureAlgorithms rsa_pss_rsae_sha512:rsa_pss_rsae_sha256:ECDSA+SHA512:ECDSA+SHA256:RSA+SHA512:RSA+SHA256
SSLOpenSSLConfCmd ClientSignatureAlgorithms rsa_pss_rsae_sha512:rsa_pss_rsae_sha256:ECDSA+SHA512:ECDSA+SHA256:RSA+SHA512:RSA+SHA256
Then in your vhosts
Code Select
<VirtualHost *:443>
ServerName other.example.com
DirectoryIndex index.php
<IfModule fcgid_module>
FcgidInitialEnv PHPRC "C:/php8"
FcgidInitialEnv PATH "C:\\php8;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;"
FcgidInitialEnv SystemRoot "C:\\Windows"
FcgidInitialEnv SystemDrive "C:"
FcgidInitialEnv TEMP "C:\\WINDOWS\\TEMP"
FcgidInitialEnv TMP "C:\\WINDOWS\\TEMP"
FcgidInitialEnv windir "C:\\WINDOWS"
FcgidPassHeader Authorization
<Files ~ "\.php$">
Options Indexes FollowSymLinks ExecCGI
AddHandler fcgid-script .php
FcgidWrapper "C:/php8/php-cgi.exe" .php
</Files>
</IfModule>
CustomLog "C:\nul" common
DocumentRoot "C:/other"
<Directory "C:/other">
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php [QSA]
</Directory>
SSLEngine on
SSLCertificateFile conf/certs/internal/fullchain.pem
SSLCertificateKeyFile conf/certs/internal/privkey.pem
<Files ~"\.(cgi|shtml|phtml|php|htm|html?)$>
SSLOptions +StdEnvVars
</Files>
</VirtualHost>
if you still have a question please ask again.
#5
News & General Discussion / Old timer need some help with ...
Last post by Phil P - September 07, 2024, 12:23:29 AMHello All
I got my CompTIA A+ certification in 2006.
When I was offered a job in the aviation industry that paid considerable more than the IT business I moved on.
However not completely get out of the IT business I did keep busy part time doing fiber optics networks.
Now at 81 I have started a hobby HTML server based on Apache 2.4.
I now need help establishing an SSL certificate for my 2 web sites.
I am just totally ignorant about how to go about this from the server setup to the final installation of required coding.
Thanks to anyone that may want to help.
John P Paxton
I got my CompTIA A+ certification in 2006.
When I was offered a job in the aviation industry that paid considerable more than the IT business I moved on.
However not completely get out of the IT business I did keep busy part time doing fiber optics networks.
Now at 81 I have started a hobby HTML server based on Apache 2.4.
I now need help establishing an SSL certificate for my 2 web sites.
I am just totally ignorant about how to go about this from the server setup to the final installation of required coding.
Thanks to anyone that may want to help.
John P Paxton
#6
Announcements / Apache Haus project is still o...
Last post by mario - June 29, 2024, 03:49:32 PMLike stated before due to personal reasons our project is still on hold. For security reasons we removed the outdated httpd Apache versions. You can find 100% compatible versions at Apache Lounge who are our friends. We will keep the modules downloadable.
We keep you updated.
We keep you updated.
#7
Third-party Modules / Re: SSO Mod windows Where to f...
Last post by oytoch - February 14, 2024, 09:14:04 PMIt's not a criticism but a questioning. I'm not qualified to do it, but I wonder about it. Even if few people need it, it's still an important safety feature.
If i find something (one day) , I will come back here.
If i find something (one day) , I will come back here.
#8
Third-party Modules / Re: SSO Mod windows Where to f...
Last post by mario - February 14, 2024, 08:52:00 AMQuote from: oytoch on February 13, 2024, 09:54:49 PMBut, Why ? Windows can make kerberos auth (IIS) . Some Java web server too. (with a keytab)
I dont understand what is the problem to support this feature for windows
if you know how to feel free to contribute to httpd Apache it is Open Source.
#9
Third-party Modules / Re: SSO Mod windows Where to f...
Last post by oytoch - February 13, 2024, 09:54:49 PMQuote from: mario on February 07, 2024, 09:10:51 AMIt is pure NTLM. No Kerberos. We never got Kerberos authentication working on Windows.
But, Why ? Windows can make kerberos auth (IIS) . Some Java web server too. (with a keytab)
I dont understand what is the problem to support this feature for windows
#10
Third-party Modules / Re: SSO Mod windows Where to f...
Last post by mario - February 07, 2024, 03:15:21 PMFor Apache 2.4 you have to use mod_authn_ntlm in this case. There is https://github.com/TQsoft-GmbH/mod_authn_ntlm with good documentation.
newer binaries than on GitHub can be found on our download page https://www.apachehaus.com/cgi-bin/download.plx
newer binaries than on GitHub can be found on our download page https://www.apachehaus.com/cgi-bin/download.plx