httpd.conf

How to send “Subject Alternative Name” data from SSL certificate with Apache HTTPD

北慕城南 提交于 2019-12-24 05:00:53
问题 My users are connecting to my app thanks to a smartcard containing a certificate. I am using httpd to make sure the certificate is valid : SSLCACertificateFile "${SRVROOT}/conf/ssl/certs/usersCA.crt" It works fine but I'd like to know who my user is on the server side (a spring app running on tomcat). The certificat contains a unique ID which I can use to know who the user is. Unfortunately it's stored in the subjectAltName (http://wiki.cacert.org/FAQ/subjectAltName). For reference the

Dynamic Virtual Host with Dynamic Alias

百般思念 提交于 2019-12-24 00:24:01
问题 I am using DNSMasq for this setup. I am having issues with Alias, as it does not work at all for dynamic virtual hosts. And there's no such a thing as VirtualAlias in Apache documentation. I am trying to setup my new environment just like I did before for .dev tld, but I am having issues, because it require more configuration. Here's fully functional .dev Virtual Document. <VirtualHost *:80> ServerAlias *.dev UseCanonicalName Off VirtualDocumentRoot "/Users/nn/Sites/%1" </VirtualHost> Here's

Apache VirtualDocumentRoot redirect non-existing domains

梦想的初衷 提交于 2019-12-23 03:54:49
问题 I'am using VirtualDocumentRoot to have multiple domains and subdomains. Everything goes well until someone tries to reach my server by IP or an non-existing domain. For example 10.10.10.10 wich results into an 404 Not Found error. Maybe someone out there can help me find an solution to redirect non-existing domains or IP to my main domain www.example.com? Let me be clear: non-existing subdomains are being redirected but non-existing domains are not. HTTPD.CONF: <VirtualHost *:80> ServerName

Newbie - what do I need to do with httpd.conf to make CakePHP work correctly?

混江龙づ霸主 提交于 2019-12-22 17:42:17
问题 (Not sure if this belongs here or on webmasters; please move if necessary.) I'm a total newbie to Cake and not much better with apache; I've done a lot of PHP but always with a server that's already been set up by someone else. So I'm going through the basic blog tutorial, and it says: A Note On mod_rewrite Occasionally a new user will run in to mod_rewrite issues, so I'll mention them marginally here. If the Cake welcome page looks a little funny (no images or css styles), it probably means

selective proxy port forwarding on Apache httpd

淺唱寂寞╮ 提交于 2019-12-22 11:02:20
问题 I am trying to integrate wordpress into my site which is running on Nodejs server with Apache Httpd port forwarding enabled to forward all the request from 80 port to Nodejs port 9000. I have installed wordpress into Apache httpd /www/blog folder. Now, i want to edit my httpd.conf so that all my requests coming from client should still be forwarded to nodejs server except my blog.example.com calls which should not be proxy forwarded and they should point to /www/blog folder. Is this possible

How to access directory file outside django project?

谁说胖子不能爱 提交于 2019-12-22 09:06:41
问题 I have my Django project running on RHEL 7 OS. The project is in path /root/project . And project is hosted on httpd server. Now iam trying to access a file out side the directory like /root/data/info/test.txt How should I access this path in views.py so that I can read and write file which is outside the project directory ? I tried to add the path in sys.path but it didn't work. Read and write permission are also give to the file. 回答1: Add the following lines to your settings.py import os ..

Apache web server: AH00125: Request exceeded the limit of 10 subrequest with FallbackResource

邮差的信 提交于 2019-12-22 07:07:53
问题 When I use "FallbackResource" in my apache 2.4 web server config, it shows the error "AH00125: Request exceeded the limit of 10 subrequest nesting levels".. Please some help on how to solve this. Is specify the url "http://localhost/bv-host/plusRoot/plus/fiets" and want it to be forwarded to the default index.html: "/bv-host/plusRoot/plus/index.html" I enabled the debug logging. Mode-rewrite is disabled. If I remove the FallbackResource line, I don't see this error but rather an excepted 404

Scoreboard is full,not at MaxRequestWorkers

我们两清 提交于 2019-12-22 03:20:49
问题 I an using Apache and Tomcat with mod-jk in my project. My web application is in Tomcat instances. I am using Apache jmeter for testing http load on tomcat. But I'm getting the error Scoreboard is full,not at MaxRequestWorkers even with 1000 threads. [mpm_event:error] [pid 24313:tid 3075319488] AH00485: scoreboard is full, not at MaxRequestWorkers [mpm_event:error] [pid 24313:tid 3075319488] AH00484: server reached MaxRequestWorkers setting, consider raising the MaxRequestWorkers setting I've

WAMP : Forbidden You don't have permission to access / on this server. Apache/2.4.18 (Win64) PHP/5.6.19

烈酒焚心 提交于 2019-12-21 22:08:58
问题 I have a problem with my WAMP web server. I’ve already successfully launched a webserver which i could access from anywhere. That was on my other computer which on the server worked like a charm but i decided to move the web onto another one of my computers, installed WAMP and configured it the same way as on my other computer. But this time i always get this error: Forbidden You don't have permission to access / on this server. Apache/2.4.18 (Win64) PHP/5.6.19 Server at 109.230.49.114 Port

Apache on WampServer Keeps Crashing

江枫思渺然 提交于 2019-12-21 20:49:10
问题 I run a medium traffic website that seems to be crashing all the time and I have to restart because it either doesn't load or cloudflare displays 520 error. Anyway I have searched up this error and they say to enable KeepAlive, but I haven't seen that option in the httpd.conf. My server info ( Yes I know linux is useful but I am using many windows softwares on my server computer as well ). I am running apache that is integrated with wamp server. 8GB of RAM and i7-2600, so it's a fast enough