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
2 answers

Apache2 Primary VirtualHost

I have several Virtual Hosts on my Apache2 server. What I'm trying to achieve is to set one of these hosts as the primary one. So that whenever I type in my IP address in the browser, it brings that one specific host up. How can I do this?
Jon Doe
  • 111
  • 1
0
votes
1 answer

Plesk vhost.conf changes

Can I permanently change the "httpdocs" in Plesk? I want the DocumentRoot to change from /var/www/vhost//httpdocs to /var/www/vhost//web/htdocs At the moment I am making the changes in /conf/vhost.conf then…
Laykes
  • 441
  • 5
  • 14
0
votes
3 answers

Apache httpd.conf handle multiple domains to run the same application

So what we are looking for is the ability to do the following: We have an application that can load certain settings based on the domain that it is being accessed from. So if you come from xyz.com we show a different logo and if you come from…
Obaid
  • 101
  • 1
0
votes
1 answer

Can I replace a redirect status with any apache standard modules?

Our environment are apache2.2 + mod_perl2 + perl app the perl app output 302 Found but from SEO reason I wanna change the status to 301 Moved Permanently only from Google bot and If it need to edit application we have to request other software…
freddiefujiwra
  • 1,667
  • 5
  • 25
  • 34
0
votes
6 answers

Apache server not broadcasting to internet

I've installed Apache server on my machine. I've set it up and designated the root folder, etc. When I go to http://localhost/, it works fine, telling me that Apache is installed correctly. However, when I enter my IP in the browser, it does not…
wat
  • 11
  • 1
  • 1
  • 3
0
votes
1 answer

Which are the required modules in httpd.conf for a Dedicated Server?

We have a dedicated server running on Godaddy. We have hosted on this server java web applications and few wordpress blogs. Java web applications running on Tomcat 5.5+mod_jk+Apache 2. I'm trying to optimize the Apache server and i see there are…
techiepark
  • 103
  • 1
  • 5
0
votes
2 answers

Configuring freshly installed Apache2

Coming from a windows history, I'd just managed to get my first Ubuntu computer running with Apache, PHP5, Mysql, Memcached and some other goodies to work as a local development workstation. But, to learn the basics, since i know less than nothing…
Industrial
  • 1,579
  • 6
  • 24
  • 37
0
votes
2 answers

How would I change the DocumenRoot on the version of Apache that came pre-installed on my Mac OS X system to a folder of my choosing?

OK, so I want to take advantage of the Apache server that comes installed on my Mac OS X system (which means, I would like not to have to install my own version of Apache and I might as well try to use what comes bundled), and as such, I went to…
user41157
  • 189
  • 2
  • 9
0
votes
2 answers

Basic Apache setup is not seeing my site

Sorry that is a horrible thread subject, but I cannot think of a better more descriptive subject. We are running a Fedora 11 server that is currently hosting some CRM on it. I want to use a VirtualHost directive to add another site to the server.…
Jake Wilson
  • 8,814
  • 29
  • 97
  • 125
0
votes
3 answers

/var/run/httpd.pid missing

Recently one of our web servers httpd stopped working and I haven't been able to find the problem. Today I sat down and went through every directory in the httpd.conf and have found an issue. the /var/run/httpd.pid is missing from the folder. All…
None
0
votes
2 answers

Configure httpd.conf alias/subdirectory point to another server

I,m having a web server for testing purposes to host my domain http://www.domain.com which run perfectly. Below is server specs: OS Freebsd 7.2 MySQL 5.1.33 Apache 2.2.11 PHP 5.2.9 I can do alias directory in my httpd.conf so that my domain can…
azrim
0
votes
1 answer

Apache Directive for Allow From

I want to button down write access on a particular file using the Allow form directive in my httpd.conf file. I have a PHP script that I want to be the only resource that can write to this file. Is there a variation of the Allow from that I can…
H. Ferrence
  • 533
  • 3
  • 10
  • 18
0
votes
1 answer

Apache Upgrade Version

I have a live server that I need to upgrade Apache from 2.2.10 to 2.2.15 on Windows Server 2003. I have just inherited this server and need the fastest way to upgrade to the latest stable version without much downtime and without messing up my…
mcondiff
  • 151
  • 1
  • 8
0
votes
1 answer

Apache 301 redirect

I have inherited a server with a couple of domains on it. The website was reworked within the last two years and I am trying to oblige a request by staff to get a redirect to work properly (if it can given the default structure). So right now on the…
mcondiff
  • 151
  • 1
  • 8
0
votes
2 answers

Reference the matched directory inside an Apache DirectoryMatch directive

I am attempting to configure Apache to host multiple django sites via mod_wsgi. The mod_wsgi setup tutorial gives an example configuration for this scenario where each app is in the same directory: WSGIScriptAliasMatch ^/([^/]+)…
Mark Roddy
  • 777
  • 2
  • 11
  • 13