Questions tagged [apache-2.2]
Version 2.2 of the Apache HTTP Server. When asking questions about virtualhosts, please include the output of the following command: "apache2ctl -S" (or "httpd -S" depending on your OS)
17,293
questions
0
votes
3
answers
3k
views
How do I force .htaccess authorization to occur over ssl?
I'm trying to force a particular directory to require only allowed IPs and a valid username/password through basic authorization. To ensure that the username/password are sent in encrypted form, I ...
-1
votes
2
answers
14k
views
Access forbidden! using xampp on macosx 10.5
I installed xampp back around January 2009, and CF8 to test coldfusion on my macbook (note: I do not think that this issue is related to CF, but only xampp). I only ever used the apache part of xampp, ...
5
votes
8
answers
5k
views
Hanging page loads every n loads
I recently moved my site to a new server (Apache 2, PHP5, MySQL5). The site is an Invision based forum. Every few posts / topics it just hangs. The data has been written because if you stop and reload,...
0
votes
1
answer
200
views
Passenger, Apache and avoiding page caching
I'm hosting a rack application with passenger and apache. The application is setup to cache the content of each request to the public directory after each request. This allows apache to serve the ...
2
votes
2
answers
255
views
Apache and file permissions
I'm running LAMP on Ubuntu 8.04. Apache's username and group are www-data. I put my connection details and AES key in a file in a directory that's not web served. I chown-ed the files to www-data:www-...
0
votes
1
answer
879
views
Access virtualhosts over LAN (Also in xpmode (Virtual PC))
I am running Wamp on my computer (the host). I have set up several virtualhosts in apache and they are working fine when I access them from the same computer (host).
I have installed Windows XPMode ...
1
vote
2
answers
2k
views
Apache cyclic redirection problem
I have an extremely weird problem with one of my sites. I run a number of blogs off a single apache2 server with a shared wordpress install. Each site has a www.domain.com main domain, but a ...
2
votes
2
answers
215
views
How to make . match all in apache configuration?
Inside httpd.conf:
rewriterule ^questions/([0-9]+).* ...
It matches /questions/1674/<textarea>,but not /questions/1674/<textarea><%2Ftextarea>
1
vote
2
answers
4k
views
How can I forward request to one subdomain to another subdomain in Apache?
I'm running Apache 2 on Ubuntu and would like to forward all request on one subdomain to another.
Example:
a.example.com/page.html would forward to b.example.com/page.html
I want to forward all ...
2
votes
1
answer
7k
views
The Alias directive ... will probably never match because it overlaps an earlier Alias
I'm getting this warning from Apache:
The Alias directive in /etc/httpd/conf.d/foo.conf at line 10 will
probably never match because it overlaps an earlier Alias.
However the Alias overlaps on a ...
0
votes
2
answers
683
views
Access 2 sites on same machine behind a router
I have several machines on my lan.
On of them is running 2 web sites, first_web_site and second_web_site (each one in a dedicated NameVirtualHost).
Another machine is running another site ...
5
votes
3
answers
413
views
How would I recognize the "spoon-feeding problem" on a dynamic webapp server?
The "spoon-feeding problem", as it was recently explained to me, happens when connections to your application server are tied up feeding data across slow network connections to your clients. This ...
1
vote
4
answers
9k
views
I need help debugging apache with gdb (no debugging symbols found)
I'm trying to debug a segfault in PHP/Apache running on RHEL4.
This is a production server, so I'm trying to install a separate copy of Apache and PHP, and run apache through gdb.
When I load httpd ...
0
votes
1
answer
281
views
Apache Virtual host points to main domain
Listen 80
ServerName www.mydomain.com:80
DocumentRoot "/www/tomcat/webapps"
<Directory "/www/tomcat/webapps">
Options Indexes FollowSymLinks
Order allow,deny
Allow from all
</Directory>
&...
0
votes
3
answers
3k
views
How to make Apache keep the connection after the request is finished?
So that subsequent request can still use the current connection.
0
votes
1
answer
614
views
Apache: Redirect entire virtual host to a URL
Centos 5.2, Apache 2.2.3
I want to configure Apache to redirect any URL under mail.mydomain.com to the single URL https://mail.google.com/a/mydomain.com
How can I set this up with Apache? I have
...
1
vote
3
answers
623
views
Apache Subversion and Sudo - Why can't I resolve this hostname?
Okay, I made a mistake and I'll be the first to admit I'm new at this setup. I built a bare bones kit, installed Ubuntu on it, and attempted to set up a source control server for a project some friend ...
2
votes
1
answer
2k
views
Apache2, making my site publicly available
I want to make my apache 2 development server public to the internet, it is a Django based website.
Here is my apache2 config:
<VirtualHost *:80>
Alias /media /home/user/myproject/statics
...
0
votes
1
answer
87
views
Complex Apache Logging
I have a file hosting site and I want to know what should be the apache log format/code to log records for only filesizes above 5mb that were served as download/output bandwidth
So log looks like ...
2
votes
2
answers
700
views
Bandwidth monitor for apache websites
I am after a web application that will parse apache log files and record how much bandwidth the user has used. We have several virtual hosts that have custom log files and the I/O is recorded at the ...
0
votes
3
answers
4k
views
Help me set up ssl.conf for multiple domains (name-based vhosts in ssl.conf?)
In my httpd.conf:
If I have my virtual host configured as:
NameVirtualHost *:80
<VirtualHost *:80>
ServerName foo.com
ServerAlias www.foo.com
Include conf.d/foo.conf
</VirtualHost>...
3
votes
1
answer
619
views
What kind of SSL cert do I need for this vhost configuration?
If I have my virtual host configured as:
<VirtualHost *:80>
ServerName foo.com
ServerAlias www.foo.com
Include conf.d/foo.conf
</VirtualHost>
Can I get by with a single domain SSL ...
2
votes
2
answers
1k
views
Need help generating a core dump from apache segfault
I have a script which intermittently returns a white screen of death in firefox and Error 324 (net::ERR_EMPTY_RESPONSE): Unknown error. chrome.
When I try to access the script using a PHP HTTP client ...
7
votes
8
answers
102k
views
How do I disable MEDIUM and WEAK/LOW strength ciphers in Apache + mod_ssl?
A PCI Compliance scan has suggested that we disable Apache's MEDIUM and LOW/WEAK strength ciphers for security. Can someone tell me how to disable these ciphers?
Apache v2.2.14
mod_ssl v2.2.14
This ...
1
vote
2
answers
126
views
htaccess problem
I have a few lines in my .htacess
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^mydomain.org [NC]
RewriteRule ^(.*)$ http://www.mydomain.org/$1 [L,R=301]
# index.php to /
...
3
votes
2
answers
1k
views
automated emails from php using google apps?
I've got google apps setup, with the mx records working.
Any emails to [email protected] now go to my google apps, great.
Now i want to use google apps for sending automated emails (ie lost password, ...
2
votes
1
answer
1k
views
FCGI & recompiling python code without restarting apache
At one hosting company, they used to run python projects with fcgi. They had set it up so that when i changed django.fcgi file, which put django & my project on pythonpath, my project code was ...
0
votes
1
answer
3k
views
Apache: Setting DocumentRoot to cgi directory results in downloading file instead of executing it
I have a c-compiled CGI application that I need to execute from the DocumentRoot of my Apache server. The CGI file is called index.cgi and is located at /usr/lib/cgi-bin/index.cgi.
I have the ...
0
votes
3
answers
432
views
Performance monitoring for apache websites
I am after something that will monitor cpu/mem usage for different apache sites. I have a web server that runs multiple websites (on different domains) and wondering if there is a tool (hopefully web-...
2
votes
3
answers
3k
views
Can I chain authentication methods in Apache?
I've got an existing SVN system that we're migrating away from SVN AuthUserFile (a flat file format) to LDAP authentication. In so doing, we'd like to establish a transitional phase where both LDAP ...
6
votes
1
answer
25k
views
Need to add request headers to every request in Apache
I'm trying to add a header value to every request via Apache (ver 2.2).
I've edited my VirtualHost to include the following vaiations:
(I've tried both RequestHeader and Header, add and set in all of ...
1
vote
1
answer
2k
views
"Permission denied" & 500 Internal Server error serving PHP in Mac OS X
I just set up Web Sharing in Mac OS X 10.6.2 Snow Leopard. My httpd.conf allows for ExecCGI and all the folders and files are readable by everybody and even writable by me.
I put a simple Hello World ...
0
votes
1
answer
143
views
What is the correct way to setup my virtual hosts in Apache to serve 2 differnt domains?
I have a current website on an Apache server (foo.com) and I want the same server to serve a new site (bar.com), is this the correct way to setup my virtual hosts?
<VirtualHost *:80>
...
2
votes
9
answers
8k
views
Why are my DNS Lookups so long (300+ms) when accessing my web site?
I'm running a Fedora 11 server with Apache 2. I'm trying to optimize so things are as fast as possible from the server side, and I'm noticing (via Firebug for Firefox) that upon loading the homepage ...
0
votes
3
answers
344
views
How to access web server of any machine of my network from the outside
I have an ip like username.dyndns.org, this is the external IP of my router. On my lan, I have several machine (m1, m2, ...) , each running a dedicated web server. Is it possible to reach each machine ...
1
vote
3
answers
5k
views
Apache - how to serve from a directory inside home folder, whereas home folder doesn't has any public permissions
I'm using Apache2 for completely local development purposes. I'm trying to make DocumentRoot to be /home/vikrant/www/ whereas permissions of /home/vikrant/ are 700.
I'm getting 403 Forbidden when ...
5
votes
2
answers
3k
views
Apache + PHP in paths with accented letters
I'm not able to run a PHP enabled web site under Apache on Windows XP if the path to DOCUMENT_ROOT contains accented letters. I'm not referring to the script file names themselves but to any folder in ...
0
votes
1
answer
114
views
apache deny directive
I am using apache deny to deny a country's ip ranges(Turkey in this case).
However from the apache log I still see ips from .tr(using dls connection presumably) accessing and get a valid http 200 ...
0
votes
2
answers
620
views
first time setting up ssl, tutorials haven't been too helpful
This is my first time trying to set-up an ssl for one a site, and I'm running it on a server that has 3 other sites already hosted.
I'm running apache2.?? and the install came with an ssl.conf page.
...
0
votes
1
answer
459
views
Is there a way to disable safe_mode in a client or domain template in Plesk? [closed]
Is there a way to disable the PHP setting safe_mode in a client or domain template in Plesk 8.6? Or, to disable it for new domain creation in some other Plesk setting/configuration?
I've Googled, and ...
18
votes
7
answers
9k
views
Should I bother to block these rather lame attempts at hacking my server?
I'm running a LAMP stack, with no phpMyAdmin (yes) installed. While poking through my Apache server logs I noticed things like:
66.184.178.58 - - [16/Mar/2010:13:27:59 +0800] "GET / HTTP/1.1" 200 ...
1
vote
2
answers
80
views
If I run this command, will my Apache2 still work?
sudo ln -s /etc/apache2/mods-available/deflate.load /etc/apache2/mods-enabled/
sudo service apache2 restart
Basically I just want to turn on gzip for Apache2.
I don't want to break anything!! Please,...
2
votes
2
answers
2k
views
In Linux, when I use the PS command, why do I see multiple lines for www-data?
I have a LAMP server that uses ubuntu 9.10, apache2, mysql5 and php5.
When I login as root through the shell, I run a "ps aux" command and see something like the following
www-data 3151 0.1 4.3 ...
1
vote
1
answer
115
views
How to pass only one repository SVN to SSL?
How to create a second virtual host for SVN repositories who are passed to SSL?
I passed only one SVN repository to SSL (not others) by using SSLRequireSSL:
SSLRequireSSL
(... snip all the SVN ...
4
votes
3
answers
19k
views
How to disable proxy requests once a server has been added to spammers "open proxy" list?
I've just started in a new company, and have been going over the setup of their Apache webserver conf files... only to find that they've had their apache servers set up as open proxies available to ...
0
votes
4
answers
4k
views
Apache and MySQL taking all the memory? Maximum connections?
I've a had one of our servers going down (network wise) but keeping its uptime (so looks the server is not losing its power) recently. I've asked my hosting company to investigate and I've been told, ...
3
votes
2
answers
2k
views
What is optimal hardware configuration for heavy load LAMP application
I need to run Linux-Apache-PHP-MySQL application (Moodle e-learning platform) for a large number of concurrent users - I am aiming 5000 users. By concurrent I mean that 5000 people should be able to ...
1
vote
1
answer
273
views
mod_rewrite and % character
I need to rewrite a URL that contains one or more strings of characters incling a % character (for instance %123) into another string of characters including a % character (for instance %234).
I am ...
3
votes
3
answers
2k
views
Apache wont start after attempting to install SSL
Below is what my VirtualHosts look like in httpd.conf
<VirtualHost *:80>
# Admin email, Server Name (domain name) and any aliases
ServerAdmin [email protected]
ServerName mydomain.com
...
1
vote
1
answer
12k
views
how do i disable mod_proxy from apache?
I have a CentOS running Apache Tomcat, I would like to replace mod_proxy by mod_jk,
I can see with httpd -l that these modules are loaded:
mod_proxy_connect.c
mod_proxy_ftp.c
mod_proxy_http.c
...