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
1 answer

Apache "connection reset" only after setting RewriteLogLevel to >0 on Win7

I was working with mod_rewrite on my work computer, which runs apache 2.2 on XP. More pertinently, I was using RewriteLogLevel 9 for debugging. No problems. I went home to do more work with apache 2.2 on Windows 7. The only change to the config was…
Fred Wilson
  • 103
  • 4
0
votes
1 answer

What is performance bottleneck of my Apache server?

I have too many requests waiting which can be seen from netstat as follows $netstat -anp | grep :80 | grep TIME_WAIT | wc -l 840 $netstat -anp |grep :80 | grep ESTABLISHED | wc -l 50 memory usage : 850MB / 1000MB apache2.conf…
rrh
  • 139
  • 2
  • 7
0
votes
1 answer

What is bottleneck of my Apache server?

$netstat -anp | grep :80 | grep TIME_WAIT | wc -l 840 $netstat -anp |grep :80 | grep ESTABLISHED | wc -l 50 memory usage : 850MB / 1000MB apache2.conf contains.. StartServers 5 MinSpareServers …
rrh
  • 139
  • 2
  • 7
0
votes
2 answers

Changes in the httpd.conf file do not take affect after restarting the service

I need to change the directory that is served up by the service. So I have changed the httpd.conf file: # DocumentRoot "C:/IBM/HTTPServer/htdocs/en_US" DocumentRoot "C:/sites" #
NitroxDM
  • 635
  • 1
  • 15
  • 29
0
votes
2 answers

Default virtualhost setting for apache2?

in sites-available/default there is some default configuration.. like: ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ [...] and Alias /doc/ "/usr/share/doc/" [...] can I remove those or they…
dynamic
  • 740
  • 6
  • 17
  • 32
0
votes
1 answer

PHPMyAdmin 500 Internal Server Error

My home PHPMyAdmin was working fine a day or two ago. Now it's giving me a generic 500 Internal Server Error and suggesting I look at my server logs. The Apache log contains these error messages: [Sun Feb 06 23:38:56 2011] [error] [client ::1]…
0
votes
1 answer

How to set JS source directory in apache2?

I am trying to run a very basic webserver for development/debugging. The static HTML seems to be delivered correctly, but it seems that the JavaScript libraries are not being delivered to the browser. The page HTML says something like …
highBandWidth
  • 103
  • 1
  • 5
0
votes
1 answer

Apache2 SSL And Passenger Configuration Issue

I have the following virtual hosts configuration blocks. DocumentRoot /var/www/html/TestApp/public/ Allow from all Options -MultiViews …
0
votes
1 answer

source of "python-program" in apache2 config file

I'm attempting to tweak my server but I don't understand what the definition of "python-program" is in a site configuration file. And by that, I understand it's some sort of reference to python. What I mean, where is it defined? Which version does…
Frank V
  • 449
  • 4
  • 15
0
votes
2 answers

Can I store MySql config file not in /etc folder? How?

I'm new to Linux. just studying php/mysql development. On windows I kept Apache, PHP, Mysql, PgSQL directories in one folder on SEPARATE DRIVE, like this: D:\server \mysql \apache \php So - If I would to reinstall Windows - all I would…
Stann
  • 523
  • 2
  • 7
  • 16
0
votes
1 answer

How can I convert httpd.conf markup to .htaccess rules?

I'm installing doxWiki, and the webserver installation instructions assume root access to httpd.conf -- my provider, 1and1, only allows access to .htaccess Below is the doxWiki httpd.conf sample ServerAdmin YourName@YourMail.com DocumentRoot…
0
votes
2 answers

Will this redirect work in the httpd.conf

Will this redirect work [a-z]* to example.com ie., I want to redirect anything to example.com Thanks Jean
Jean
  • 261
  • 1
  • 7
  • 15
0
votes
2 answers

redirect x.com to y.com

I did a redirect in the httpd.conf file ServerName y.com *.y.com Redirect permanent / http://x.com/ and restarted, but the redirect does not work. The ip address for both domains are the same. All help…
Jean
  • 261
  • 1
  • 7
  • 15
0
votes
1 answer

virtual hosts overlapping in debian apache2

I have a domain domain.com and a subdomain sub.domain.com . In apache2/sites-available I have 2 vhosts files: domain and sub. When I do a2ensite sub the subdomain overwrites the domain, so when I go to see the main domain I see the content for the…
Elzo Valugi
  • 387
  • 2
  • 4
  • 15
0
votes
1 answer

Hot link prevention not working

I am trying to prevent hot linking of images on our site. I have tried editing /etc/httpd/conf/httpd.conf by adding the following to the end of the file: ServerName www.myserver.co.uk ServerAlias myserver.co.uk DocumentRoot…
oshirowanen
  • 292
  • 4
  • 13