Questions tagged [httpd.conf]

httpd.conf is a typical name for a web server configuration file. Historically this is the main Apache configuration file. It is also the configuration file for OpenBSD httpd.

httpd.conf is a typical name for a web server configuration file.

Historically, this is the main Apache configuration file, but has been adopted by other servers, including OpenBSD httpd.

In recent Apache installations, the main file can also be called apache2.conf.

616 questions
0
votes
3 answers

How to speed up apache

We have a server with 8Cores, 16GB of RAM and RAID 0 SAS 10K drives. Our goal is to use this to serve a fairly simple php application quickly. We have tested all other components and we think we have narrowed it down to apache is our bottleneck. I…
0
votes
2 answers

Apache + mod_wsgi: seem to be getting a 403 server error

Hello I had to recently reinstall mod_wsgi today (As our Red Hat server was curupted again). Something funny happed while deployiing with Django. I kept on getting page 403 errors You do not have permission to access /mmc on this server error. My…
Shehzad009
  • 147
  • 1
  • 2
  • 6
0
votes
2 answers

Multiple servers on the same port, using aws elastic load balancer

I've got this setup that works almost all right and, apparently, works the exact same way than this: UseCanonicalNames off RewriteEngine on RewriteCond %{HTTP_HOST} !^www\.example1\.com RewriteCond %{HTTP_HOST}…
cregox
  • 167
  • 1
  • 9
0
votes
2 answers

Simplify httpd.conf file

Any suggestions on how to simplify my httpd.conf file? I've stripped out everything but the relevant portions: Listen :80 Listen :443 :80> ServerName myservername.com
ConsultUtah
  • 259
  • 1
  • 3
  • 13
0
votes
3 answers

I've just installed php on CentOS but need to integrate with Apache

Through yum, rpm commands I've got php53 and other 53 versions common pdo cli mysql pdo I can't tell what version of apache I have, or how to integrate this php into apache. [root@server1 httpd]# yum list installed | grep…
Robert
0
votes
1 answer

Need help with apache2 httpd.conf

Ok, the problem is presented like this: I have a single IP (123.123.123.123) I have multiple domains I work with subdomains for testing So basically I need to host www.example.com, wwww.example2.com as well as subdomains for a couple of…
Tomas
  • 101
  • 1
0
votes
2 answers

How to configure Apache to process PHPs in Alias

I've configured my Apache with an alias to another directory in the httpd.conf like this: Alias "" This works fine for regular HTML documents like /home.html, but PHP-files like /script.php are not processed on the…
IronGoofy
  • 201
  • 1
  • 2
  • 7
0
votes
1 answer

Multiple Apache2 vhosts are pointing to the same website

I'm having trouble getting multiple sites working with Apache on Ubuntu 10.04. I have two sites I want to serve from the same VPS, psychedeli.ca and mahoganytales.com. The problem is, both domains are pointing to the site for psychedeli.ca instead…
Tom Scott
  • 111
  • 2
0
votes
2 answers

Problems adding new domain to httpd.conf file

So, I just bought a brand new domain. I set up my dns records with the host (godaddy) but something strange happens on my server. I've added this to the httpd.conf file: ServerName www.newdomainname.tld DocumentRoot…
Jelle De Loecker
  • 1,094
  • 6
  • 17
  • 30
0
votes
3 answers

Setting up an SVN repository on a subdomain

I've found a few guides for setting up a subversion repository and making it available via a subdomain (using a virtual host in Apache), but for some reason can't get things working. Here's what I've got so far: Created a subdomain…
Wilco
  • 365
  • 5
  • 17
0
votes
1 answer

WordPress pretty permalinks not working

I can't get WordPress pretty permalinks to work on my Fedora LAMP server. If I set them and click a page/post link I'll get a ""Oops! This link appears to be broken." The .htaccess file is writable and being updated, mod_rewrite module seems to…
Yarin
  • 1,366
  • 8
  • 19
  • 31
0
votes
1 answer

Disabling access to specific directories and their contents

I have a Web site that contains several Web applications. Each Web application corresponds to a subdirectory of the document root whose name starts with "Web". (For example, /WebLulzGenerator and /WebInternetHateMachine are Web applications but…
isekaijin
  • 153
  • 1
  • 1
  • 6
0
votes
1 answer

Redirecting all requests through HTTPS in a way that works with both public and private IPs

I want to force Apache to redirect all traffic through HTTPS: # Redirect HTTP traffic to HTTPS. RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://mypublicip/$1 [R=301,L] Unfortunately, this does not work when I am trying to…
isekaijin
  • 153
  • 1
  • 1
  • 6
0
votes
1 answer

Specify DirectoryIndex for all directories but a specific one?

I am serving a collection of Web applications from a Windows machine running Apache. My document root has the following contents: /MyWebApp1 /MyWebApp2 /MyWebApp3 /Common /css /images /script I want that index.php be served whenever the root…
isekaijin
  • 153
  • 1
  • 1
  • 6
0
votes
1 answer

Header unset Server not working for static files

I'm trying to unset the "Server" field in response headers. I do this using Header unset Server, and that works fine for requests handled by mod_perl. However, for requests to /static I use Apache to serve static files. For some reason, when these…
Sam Lee
  • 3
  • 2