Questions tagged [httpd]

39 questions
6
votes
1 answer

How to install mod_ssl for Apache

I have installed Apache httpd a while ago and have recently come back to it to try setup SSL and get it serving several different tomcat servers. At the moment I have two completely separate tomcat instances serving up to slightly different versions…
Nick Foote
  • 203
  • 1
  • 2
  • 5
5
votes
1 answer

=~ (equal-sign tilde) and m" ... " in .htaccess directive

I saw this bit of code on an old forum post: SSLRequire %{HTTP_HOST} =~ m"\.secure\.powweb\.com" And I was just wondering what the =~ and m" ... " meant. I've been searching online and in the Apache documentation for any mention of the equal-sign…
Lèse majesté
  • 15,356
  • 39
  • 49
5
votes
1 answer

Adding a page indicating that a website is in maintenance

I use Spring MVC + Apache tomcat + Apache httpd and I am seeking for best practices in order to redirect all http requests to a page indicating to my users that the website is in maintenance. FYI, my website will be hosted on Cloudfoundry.
balteo
  • 153
  • 4
3
votes
1 answer

failed httpd starting on a centos/apache web server

I installed a ffmpeg module on a web server (centos) after that httpd broke. How can I fixed it? when I typed: /etc/init.d/httpd start I got this error: Starting httpd: Syntax error on line 5 of /etc/httpd/conf/extra/httpd-directories.conf:…
3
votes
1 answer

Pointing a parked subdomain to a real subdomain

I have two registered domains. Say the domains are originaldomain.com and parkeddomain.com. parkeddomain.com points to originaldomain.com. I also have a few subdomains in originaldomain.com, and I want to be able to do…
3
votes
1 answer

getting the user back where they came from with mod_form_auth

Using the mod_form_auth module in Apache HTTPD 2.4.3, I am looking for a way to have the user redirected to their original desired target after completing a login. That is, if I have a ... form auth config…
bmargulies
  • 133
  • 6
3
votes
1 answer

How to tell Google to stop crawling my website via IP?

After a database server migration, I've noticed that GoogleBot started getting errors when trying to crawl my site. The reason seems to be that it is hitting my site via IP address (and due to my config setup, my PHP scripts try to hit the old…
carpii
  • 133
  • 4
2
votes
1 answer

Apache CacheIgnoreURLSessionIdentifiers to ignore select query string params

I am looking for a way of specifying a list of query parameters that I want to ignore for caching. Can I use the directive CacheIgnoreURLSessionIdentifiers to ignore select query parameters regardless of whether they are used for session…
DD.
  • 549
  • 1
  • 6
  • 18
2
votes
2 answers

Apache httpd Problem

I am getting intermittent issues with my site. Pages often hang with huge loading times and sometimes fail to load. The httpd error logs contain the following: [Wed Feb 23 06:54:17 2011] [debug] proxy_util.c(1854): proxy: grabbed scoreboard slot 0…
Kit
  • 123
  • 1
  • 4
2
votes
2 answers

Domain Name Not resolving with webhost nameservers and without www

Searched all over and tried playing with httpd.conf , nothing works. The domain name can be resolved with www.domain.com but without www its does not resolve. Advice for A Records does not work. I have a domain from Registrar otwohosting.net there…
echoashu
  • 135
  • 1
  • 8
2
votes
2 answers

Why do servers need to know their domain?

Besides routing traffic, why do servers need to be configured with the server name? It seems like a waste in all cases except for routing or hosting for a TLD. Nginx example: server { listen 80; server_name myexample.com ... } Apache…
Stephen
  • 123
  • 4
2
votes
2 answers

Creating a Sub Domain on Dreamhost

I am trying to create a sub domain play.mink7.com i went to Domains and Add Domain and added the Subdomain. It created the DNS records. Now when i go to the website http://play.mink7.com am getting the following error Site Temporarily Unavailable…
Harsha M V
  • 155
  • 4
2
votes
0 answers

While setting up http to https redirect on Apache (with Drupal and certbot) it broke http access and fails to redirect

I am trying to set up a Drupal site on a VPS. It was working. I used certbot to set up https, which worked when going to https://example.com . Going to example.com was in http. I vaguely followed…
schumi23
  • 21
  • 1
2
votes
1 answer

How do I match string in URL path at any level to specific file using mod_rewrite

It's likely that I missed the answer already because I'm not even sure how to phrase this, but here it goes... I'm attempting to create a healthcheck virtual--something "file", maybe, so whenever the address ends in something like .../check it is…
Vita
  • 173
  • 6
2
votes
1 answer

How can I limit .htaccess to current directory scope only?

I have something like this: Options -Indexes RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /index.php?path=$1 [NC,L,QSA] Order deny,allow Deny from all
Kirikan
  • 33
  • 3
1
2 3