Apache (HTTP Server) /əˈpætʃiː/ is a modular cross-platform web server software with a large variety of features(called modules) including SSL, compression, log, proxy and server-side programming language interfaces like Perl, Python, Tcl, and PHP.
25
votes
4answers
26k views
Is there a practical HTTP Header length limit?
I have a web application that adds contextual information to XmlHttpRequest objects using the setRequestHeader API. I am using a custom header name (e.g. X-Foo) and a JSON structured value. It isn't ...
18
votes
1answer
13k views
How can I implement rate limiting with Apache? (requests per second)
What techniques and/or modules are available to implement robust rate limiting (requests|bytes/ip/unit time) in apache?
21
votes
1answer
18k views
multiple django sites with apache & mod_wsgi
I want to host several sites with under the same server which uses Debian 5, say I have site1, site2 and site3, and assume my ip is 155.55.55.1:
site1: 155.55.55.1:80 , script at /opt/django/site1/
...
8
votes
4answers
18k views
.htaccess for cakephp
I'm trying to get a CakePHP application to work. For this, I've set up a brand new Debian installation, updated the configuration and put everything in /var/www, which has the following content:
app
...
8
votes
5answers
9k views
Is it possible to put binary image data into html markup and then get the image displayed as usual in any browser?
It's an important security issue and I'm sure this should be possible.
A simple example:
You run a community portal. Users are registered and upload their pictures.
Your application gives security ...
4
votes
5answers
4k views
Allow one session only at a time
I would like to make my website to allow only one session at a time. For example, let say user has login to my website on firefox, if the user login again to another browser like opera on the same ...
11
votes
3answers
8k views
How Can I Have A Conditional .htaccess Block?
This is an Apache question you've probably come across before. I want to have one source package that I can deploy to my workstation, my staging server, and my production server, but for it to load ...
0
votes
2answers
491 views
mod_rewrite - how to rewrite an URL?
Is there a way to rewrite an URL like
http://mydomain.com/getProduct.php?id=1&mode=simple
in
http://mydomain.com/products/1/simple
using mod_rewrite in Apache2?
29
votes
6answers
30k views
Correct owner/group/permissions for Apache 2 site files/folders under Mac OS X (10.6)?
It's hard to find Mac-specific answers to this question on the web, so I'm hoping someone out there can put this one to rest for me? My permissions are screwed up on my sites and I'm not sure how to ...
2
votes
7answers
4k views
How do you configure Apache/PHP to accept slashes in query strings?
I have two Apache servers running PHP. One accepts forward-slashes in the query string and passes it along to PHP in the expected way, for example:
http://server/index.php?url=http://foo.bar
...
12
votes
1answer
12k views
Setting up Git Server on Windows With git-http-backend.exe
I am in the process of setting up a Git server (1.7.2.3) on a WS 2008 machine using Apache and git-http-backend.exe. I have been following a good tut here. I have the GUI working, I can annoymously ...
5
votes
2answers
9k views
tortoise svn giving me “Redirect cycle detected for URL 'domain/svn'”
I want to achieve a svn-root in /var/svn and repositories(projects) in there.
I could get it to work in the browser (http://domain/url gives me "Collection of repositories") but the TortoiseClient is ...
9
votes
5answers
2k views
How do I ignore the Perl shebang on Windows with Apache 2?
I have set up a local Perl web environment on my Windows machine. The application I'm working on is originally from a Linux server, and so the shebang for source .pl files look like so:
...
1
vote
3answers
9k views
How to configure SVN web access for different write permissions?
I'm trying to configure SVN web access on Apache2 under Windows Server 2008 for different write permissions.
I have next Apache2 conf:
<Location /svn>
SVNParentPath "E:\SVN"
DAV svn
...
15
votes
1answer
13k views
How do I list all repositories with the SVNParentPath directive on Apache+SVN?
I'm using SVN through Apache with dav_svn_module like this:
<Location /svn>
DAV svn
SVNParentPath C:/svn_repository
AuthName "Subversion Repository"
...
</Location>
This lets me ...