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.

learn more… | top users | synonyms

0
votes
1answer
1k views

Apache server not able to read cookies from Browser

I have developed a login authentication page using cookies (with spring security) where for the first time, the user will need to get itself authenticated. Once the user gets successfully ...
1
vote
1answer
178 views

Apache - Reverse proxy

I am using Apache 2 and using the below virtual host definition in httpd.conf file <VirtualHost *> ServerName localhost ProxyPass / http://localhost:8080/stackoverflow/ ...
3
votes
2answers
102 views

Installing a PHP framework to a host without public_html or www folders (ftp is DocumentRoot)

I've developed a PHP framework that operates with the directory structure of / /classes/ /templates/ /.../ /www/ (public_html) But I've come across a host that only allows ftp to the ...
2
votes
0answers
100 views

How many connection can my website have? [closed]

As the traffic increased my website hangs quite regularly. The page visit is now averaging 50k per day. The static page loads fine, but when the page has mysql request it takes too much time to ...
1
vote
0answers
98 views

Multiple PHP 5.x version for different directory [closed]

Is this thing even possible because I searched every where but all I could find was this one post ? Using .htaccess or using AddHandler/Action MIME module Directive ? I have compiled all Apache, PHP ...
4
votes
1answer
431 views

What VPS spec would I require to run WordPress [closed]

I am looking to move an existing WordPress website to a virtual private server (VPS). It will be a Debian (minimal install) running ISPConfig3, Squirrel Mail, and Apache2. The WordPress site ...
2
votes
1answer
346 views

Can I dynamically set the SSLInsecureRenegotiation Directive?

We're running Apache 2.2.22 with OpenSSL 0.98, one of our Citrix NetScaler Hosts cannot send a client certificate after handshaking SSL as we have to set SSLInsecureRenegotiation off as a security ...
1
vote
1answer
67 views

How can I bypass modules in apache?

I have an apache server running on an embedded device that serves webpages to clients using a bunch of custom modules. I'm now trying to load some webpages from the device using ...
1
vote
1answer
101 views

CGI program can't access external sites through a proxy

We have a local "server" machine (Web, Samba, LTSP, DHCP.. etc) 192.168.0.11 running Mandriva / Apache2 which connects to internet using another machine as a proxy (Vista 192.168.0.2:6588). Browsers, ...
4
votes
2answers
98 views

What measures should I take after I find one of my scripts being vulnerable?

I maintain a few PHP-based websites for a small company on a LAMP server. The scripts include CMS such as Joomla or Wordpress, as well as SilverStripe and Drupal installations. A week ago, I found ...
1
vote
2answers
694 views

GWT “Big traffic change for top URL”

I recently received an email from GWT saying that one of my URL's traffic has suddenly dropped. As it turned out the traffic to the whole site has drastically dropped, from some 300+ unique visitors ...
2
votes
1answer
1k views

How to set htaccess working on opensuse for codeigniter project

I'm trying to have htaccess work on codeigniter project but the module is not working and I don't know how to enable rewrite module. To have read the htaccess. The OS is Opensuse 12.2. I have this ...
1
vote
1answer
1k views

Apache2 redirect all sub-directories to index.html of main directory?

I want to put an .htaccess file in a directory of my website. For this purpose in: www.mysite.com/dir/ Then I want anything after /dir/ to direct to /dir/index.html but still display the original ...
2
votes
1answer
96 views

How to configure apache2 to just save certain POST requests without even passing them to application?

I'm running Apache in front of glassfish server using BalancerMember. For performance reasons I would like that POST requests on certain endpoint are just saved to a file without passing them to ...
2
votes
3answers
2k views

mod_rewrite works within directory not on root

I am having a problem with my RewriteRule for the querystring portion. What I am able to debug is that the rule is being triggered at least because the page "tags.php" is being rendered but without ...
1
vote
0answers
133 views

Apache, Rewrite Rule and Directories

I'm using the current virtual host: <VirtualHost *:80> ServerAdmin webmaster@mysite ServerName example.co.uk ServerAlias www.example.co.uk DocumentRoot ...
1
vote
1answer
2k views

Is it possible to stream music/video from an Apache server?

I'm just starting to get into setting up a server. I've set up a basic Apache server to access some songs and movies. When I click one of the songs though, nothing happens. When I click one of the ...
2
votes
1answer
294 views

htaccess code for maintenance page redirect

I set up a maintenance page that I could enable through an htaccess file. The html file is located in a folder called "maintenance". The html file has some images in it. However, visitors to the page ...
2
votes
1answer
3k views

A lot of 408 errors in apache logs - how to prevent them?

I see a lot of 408 errors in my apache2 logs. I increased RequestReadTimeout and KeepAliveTimout but errors are still there. The errors look like this: xx.xx.xx.xx - - [05/Dec/2012:19:33:56 +0100] ...
3
votes
1answer
1k views

Enabling SSL on Apache2 causes address already in use error

My server works just fine on a normal Apache2 install. Now, I'm trying to install subversion on this server using a guide I found on the net called: Installation of Subversion on Ubuntu, with Apache, ...
0
votes
1answer
233 views

Changing domain name - what are the practical steps involved [duplicate]

Possible Duplicate: How do I rename a domain and preserve PageRank? I launched a website a couple of years ago, bright eyed and bushy tailed, with dreams of conquering the world. ...
1
vote
1answer
442 views

Using mod_speling with multi-level htaccess and rewriterules

We recently switched formats for managing our 301s. For the most part, everything went well, but it seems to have stopped mod_speling from working properly. Here's what we changed: old ...
0
votes
1answer
1k views

Apache2's recursive directory permission requirement

The experience I've had thus far is from Ubuntu 10.04 and 12.04 64 bit OS so if there are other OS differences I'd like to know if this is an OS specific problem or not. The issue I've experienced is ...
0
votes
1answer
134 views

How to ensure apache2 reads htaccess for custom expiry?

I have a site with Apache 2.2.22 . I have enabled the mod-expires and mod-headers modules seemingly correctly: $ apachectl -t -D DUMP_MODULES … expires_module (shared) headers_module (shared) … ...
0
votes
4answers
204 views

Need to redirect to another server with no access to DNS A record

I've a website which is on two servers - the one it's on now malfunctioned. I have the site hosted on a second server, but have no access to the DNS Records to point the A Record to the new server IP. ...
3
votes
1answer
203 views

Mod rewrite - redirecting url with certain parameter to new url

I need some help redirecting a url with particular parameter value to a new url. For example how can i redirect these two urls with id 123 and 345 to a new url? Redirect ...
1
vote
1answer
187 views

Is it possible to use two different ErrorDocuments for different paths of a website?

I currently run PmWiki at mydomain.com/pmwiki. I have a 404 page and .htaccess set up in my site's document root for 404 pages regarding anything that doesn't have to do with my wiki. By default, ...
4
votes
1answer
99 views

Unable to view 2 local sites over network

I have 2 websites running on my local machine that I'd like to view from other machines on the same network. For /etc/apache2/sites-available/site1.com: <VirtualHost *:80> ServerName ...
2
votes
0answers
400 views

Problem with missing JSON functions on PHP 5.2.6 / Plesk 8.4

I have a vserver running openSuse 10.3, Apache 2 and Plesk 8.4. I can update/upgrade neither, as it is apparently not recommended to upgrade openSuse 10.3 (and an update to the EOL 10.4 does not seem ...
1
vote
0answers
341 views

404 error on a file/directory that exists?

We are using the vBulletin system. I have set it up so that it redirects 404 error's to a php page, so it follows the theme of the forum. However, if I go to a directory that exists (the admin ...
0
votes
0answers
63 views

Logging what was in the content of a page

I'm one of the people working on a Java based website that has the apache httpd in front of it. The content on the pages is migrating towards personalizing the content and as such just about every ...
0
votes
1answer
557 views

Do I need a subdomain or CNAME?

I have a domain with Godaddy (mysite.com) which is pointing to my AWS EC2 box. Now I need a launchpad link on my website so that if the user clicks on it it would point to launch.mysite.com This ...
4
votes
2answers
383 views

Let apache run perlscripts that don't have an extension

I'd like to use perlscripts without their extension. f.e. "index" instead of "index.pl". Changing the DefaultType-directive from text/plain to application/x-perl didn't do the trick. Instead of ...
1
vote
0answers
495 views

File access forbidden in htpasswd [closed]

I have been using the htpasswd generated in this question and it seemed to have been working well until recently. Since yesterday, I am not able to access the newest file created in the folder ...
1
vote
2answers
345 views

Why do I get this error about file not being found?

I am getting this error: File does not exist: /var/www/user/home/user/public_html/cgi-sys I have only .html files in the document root. Can anyone tell why I am getting this error?
2
votes
2answers
585 views

Is there a modern (eg NoSQL) web analytics solution based on log files?

I have been using Awstats for many years to process my log files. But I am missing many possibilities (like cross-domain reports) and I hate being stuck with extra fields I created years ago. ...
2
votes
2answers
266 views

How can I test for a URLs existeance before redirecting to it?

I am using Apache's mod_rewrite to redirect mobile users to my mobile site based on their http_user_agent. However not all pages have a mobile equivalent. Also mobile pages end in .html and "full" ...
0
votes
2answers
1k views

apache virtual host problem on windows 7 - please explain

This problem has never occurred in the past (i have tried this many times) but this time, ALL virtual hosts defined in the virtual-hosts.conf file in the apache installation directory direct the ...
0
votes
1answer
824 views

How to use different php.ini files for different VirtualHosts?

I have my site and it's staging subdomain running on the same CentOS machine running apache. The subdomain is created using a VirtualHost, and I use it to find any bugs before I push to production. I ...
2
votes
1answer
133 views

Webserver timing out

I was working with my website yesterday when I was at home using my web address. Yesterday I installed Wordpress and it seemed to work. When I got to work today, I tried opening my website, and now ...
1
vote
1answer
8k views

Managing multiple reverse proxies for one virtual host in apache2

I have many reverse proxies defined for my js-host VirtualHost, like so: /etc/apache2/sites-available/js-host <VirtualHost *:80> ServerName js-host.example.com [...] ProxyPreserveHost On ...
3
votes
2answers
14k views

Apr_sockaddr_info_get() Failed

Today while trying to start apache server I received an error: Apr_sockaddr_info_get() Failed I would like to get opinions / answers to resolve this issue. I would like to know what exactly is ...
1
vote
1answer
83 views

Custom 505 and SEO

There is a PHP project that sometimes throws 500 errors, I'm making a customized 500 page so that people realize we are monitoring this event and we will fix the issues. My question is related to SEO ...
2
votes
1answer
796 views

How to properly deny Railo directory access through Apache

I've been battle tested on this and failed to achieve my goal which is to deny all access to all directories except the Public directory and only allow access to all all other directories with ...
0
votes
1answer
87 views

Is it possible to request Google and Bing/Yahoo to drop the cache of links they have indexed?

I radically changed the design of my site to not include embedded session keys which were part of the url itself i.e. /sessionkey/blahblah/blah to just /blahblah/blah. Now that I have relaunched my ...
3
votes
2answers
303 views

Bizarre image loading problem from apache2

Users have complained a few times about seeing a bizarre set of pink or green stripes on our webpage. At first I thought there were a rash of video card outages, but then someone sent me a screenshot ...
2
votes
1answer
494 views

htaccess preventing sqlite database being downloaded

I have a VPS, running apache2 on Debian 6. Created a file called .htaccess on the web root, which included: <Files ~ "\.db$"> Order allow,deny Deny from all </Files> ...
0
votes
2answers
378 views

htaccess and htpasswd trouble

This is the first time that I have ever tried working with .htpasswd and .htaccess files, so please point out my childish works. I have my apache document root set to /www/ on my debian server. ...
3
votes
2answers
711 views

How to force browsers to always reload xslt files?

Related: Apache: How can I force the browser to reload CSS files? I'm building an xml page (on an apache2) that is supposed to be translated to xhtml by the browser, so my server also serves a ...
2
votes
1answer
3k views

last-modified/etags - to include or not?

Google's PageSpeed plugin suggests that a website should include Last-Modified and ETag headers: Specify a cache validator "Resources that do not specify a cache validator cannot be refreshed ...