The Apache HTTP Server is an Open Source Web server, which originated from a series of patches to the NCSA HTTPd. Apache is the world's most popular Web server, which is run on 54.90% of all Web servers according to the Netcraft survey conducted July 2010.

learn more… | top users | synonyms (1)

0
votes
0answers
112 views

Configuring Apache 2.2 for Python web app in subdirectory

I have been assigned a web server to administer, and I have to deploy a web application I wrote on it. This application is mostly a single page in JS + HTML, but it has a little form to accept ...
2
votes
5answers
197 views

Apache URL rewriting not working

All .php files are rewritted before doing the below rewriting: test.php => test foo.php => foo I want to rewrite this URL http://www.testdomain.com/test?name=john&id=2&nick=doe to ...
0
votes
0answers
26 views

Random Apache and NginX stops

I have a virtuell server from strato (german hoster) running on ubuntu Ubuntu 12.04.1 LTS with plesk. Lately I have problems that my webserver once in a while doesn't respond request. so I startet ...
0
votes
0answers
84 views

Proxying is removing the end of the URL

I have an existing apache webserver, and I am trying to add YouTrack to it. Knowing anything about YouTrack is likely not relevant for this question, except that it's running Jetty 6.1. So I have it ...
0
votes
1answer
42 views

Redirect public traffic to a different subfolder, while local traffic remains unchanged

I would like to have local (intranet) HTTP traffic go to the /var/www/html folder while any public traffic goes to the subfolder, /var/www/html/public I've tried this configuration, with some ...
4
votes
2answers
72 views

Best process for upgrading a live server

I just recently started at a new company, and their live server has PHP v5.2.6 (yes, circa 2008). A site I recently designed for them actually wouldn't work on it because PHP is so old, so I've now ...
0
votes
1answer
417 views

How to leverage browser cache using .htaccess on nginx?

I'm trying to increase the pagespeed of our website ubercore.co. I'm using PageSpeed Insights for Chrome extension to analyze the pagespeed. It has suggested me to "Leverage browser cache". This is ...
1
vote
3answers
158 views

Hide a site entirely from search engines (Google, Bing etc.)

My company is running a few internal websites that we do not want indexed by search engines such as Google, Bing etc. However, the websites still need to be accessible for our customers, and ...
1
vote
1answer
120 views

Site down for some users and I can't find the issue

Hoping to get some advice, I'm getting feedback from users in seveal regions around the world (Asia, Africa) that a site I run is down for them. When I check myself it's fine, checking the server all ...
1
vote
1answer
94 views

Can't Make Changes via FTP on my Ubuntu Server

I'm very new to server management, I literally just set this up for the first time a couple weeks ago, no idea what I'm doing. In order to allow WordPress to run updates, apparently everything needs ...
1
vote
0answers
32 views

web maliciousness via Twitter? [closed]

My Apache logs suddenly show huge numbers of downloads (downloading the same things over and over) from IPs that trace to Twitter -- 199.59 & 199.16. What does that mean? Can you actually download ...
0
votes
1answer
56 views

Filtering content from response body HTML (mod_security or other WAFs)

We have Apache on Linux with mod_security as the Web App Firewall (WAF) layer. To prevent content injections, we have some rules that basically disable a page containing some text patterns from ...
0
votes
2answers
44 views

How to add a remote file to .htaccess file for webcaching?

I have the following code in my .htaccess file that caches several file extension types: ## EXPIRES CACHING ## <IfModule mod_expires.c> ExpiresActive On ExpiresByType image/jpg "access 1 year" ...
0
votes
0answers
74 views

Apache VirtualHost Subdomain redirects to IP

I have one VM (LAMP) with a static IP. There are two Subdomains configured on this Machine. If i browse one of the subdomains, it executes the files specified in its DocumentRoot. The problem here is ...
2
votes
1answer
89 views

Simplest way to lock down a beta web site but allow paypal payments

Perhaps a strange question, but I have a website that's not ready for production use online in order to test paypal payments. I had locked down the site using a .htaccess file however this also ...
2
votes
1answer
48 views

Mapping a domain to my virtual server using an A record

I bought a virtual server from Hetzner. It has Debian 7.0 minimal installed, and I also installed Apache server using apt-get install apache2. That's about everything I did on the server. This URL ...
2
votes
2answers
82 views

Remove IP address from the URL of website using apache

I'm on an EC2 instance and have a domain domain.com linked to the EC2 nameservers and it happily is serving my pages if I type domain.com in the URL. However when the page is served it resolves the ...
1
vote
1answer
49 views

Reasons for putting an application platform behind a web server

Application platforms like Node.js and Tomcat can bind to port 80 and serve external requests directly. Alternatively, these application platforms bind to a local port (like Tomcat's 8080) that is ...
0
votes
0answers
194 views

Remove fb_action_ids of the URL with .htaccess

For some reason my host not let me have more than one htaccess so I have to make all the changes from the htaccess located in the root. My directory tree is as follows: ..../ ....index.html ....css ...
0
votes
2answers
68 views

Apache .htaccess URL rewriting is not working

I am using this code in .htaccess but the last line not giving any response: RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-l RewriteRule ...
2
votes
2answers
62 views

Need help writing .htaccess / Apache rule

I have some URLs which are now 404 due to site upgrade. I want all URLs starting with www.example.com/archives/* to point to www.example.com/news (notice that after archives there is a wildcard ...
2
votes
1answer
125 views

How should I set up and use a CDN for my web application?

I plan to create and run my own CDN. Currently, media and other static content is being served by the web-servers which are behind a load balancer which is a waste of resources. The network structure ...
1
vote
1answer
364 views

Can I redirect a subdomain to an IP address with a port?

I've got two addresses: ipaddress and ipaddress:100. The first one uses the default port of 80, but the second server (running GitLab) uses port 100. I have multiple IP addresses, but I am wondering ...
1
vote
0answers
42 views

Apache2 only first virtual host is working

i have a probelm with this configurations, only the first virtual host is working and other under the same domain point to the first www.firebuggger.com). do you guys have a clue? NameVirtualHost ...
0
votes
0answers
5 views

Webhosting server Frontcontroller support [duplicate]

I am currently using XAMPP to code my websites, but i want to host it online now. I came across some hosting servers and they had restrictions, one didn't allow the use of a PDO and another didn't ...
0
votes
0answers
16 views

How to measure the file download speed in another country [duplicate]

Now I have a dir with about 5000 files (images) in it and I concerned if this amount will significantly slowdown speed of page load with this images. I'd like to test the load speed of an image from ...
1
vote
1answer
133 views

SSL works on https://dedicatedip but not https://domain

My SSL certificate works on my apache web server but only when I do https://Dedicated_vps_ip. When I do https://domain.com it just doesn't work. I've tried almost everything. What am I doing wrong? ...
0
votes
1answer
65 views

Apache - How to extend localhost scope e.g. to other drives?

In Apache httpd.conf file I can set the DocumentRoot value. After setting this, if I view "localhost" in a browser, I can see the folders and files this given folder contains. I cannot "speak" PHP ...
2
votes
1answer
268 views

Upgrading Apache 2.2 to Apache 2.4 [closed]

I'm planning to upgrade Apache 2.2 running on my centOS 6.5 server to Apache 2.4, Does the new Apache version worth the update?
1
vote
0answers
26 views

Regex isn't honored in mod_security2

SecRule REQUEST_URI "^/(|(.*)/)(lpt1|lpt2|lpt3|lpt4)(/|\.|\?|$)" "t:none,t:htmlEntityDecode,t:lowercase,t:removeWhitespace,block,msg:'X',id:'1000'" SecRule REQUEST_URI "^(.*)//(.*)$" ...
1
vote
0answers
45 views

Two stage Apache rewrite not working

I had a list of "Redirect permanent path/to/url1 http--//domain2.com/path/to/url2" rules working as a test, but when I attempted to couple them with mod_rewrite rules to catch non-matching domain1 url ...
0
votes
1answer
88 views

How to make better RESTful links SEO on static content website with Apache and PHP Router

I have a pretty old website (running on Apache) that serves around 50 static HTML pages. And so I want to change it and add PHP Router to help me serve content in a RESTful way. Now I have tried ...
2
votes
2answers
142 views

How to prevent JavaScript directory access with htaccess

I have a website like http://example.com but the problem with it is that people are able to get access to my JavaScript by pointing a browser to http://example.com/js/. I have little knowledge of ...
3
votes
1answer
93 views

Moving a WordPress site to a new domain - need help with an Apache htaccess URL rewrite rule

I'm helping to move a WordPress site from one domain to another, which includes a change in permalink structure. I know I can use a .htaccess entry, but I'm not that well-versed (yet) in regular ...
2
votes
1answer
62 views

Rewrite one URL to another, and then block the first one using Apache mod_rewrite

Description: I've changed with RewriteRules (no redirect) a typical PHP-like URL: domain.com/script.php?parameter=value to more friendly one: domain.com/script/value But I still can reach the ...
2
votes
1answer
562 views

Apache htaccess results in files being downloaded instead of displayed

So I had this "beautiful" website that did exactly what I wanted it to do. Then I shut down my PC, reboot and...the pages just download now instead of being displayed. I re-installed XAMPP and ...
1
vote
1answer
48 views

Configure htaccess to show index.php as the default page instead of permissions error

Having a problem with my .htaccess. I have this to secure all my documents: Order Deny,Allow Deny from all Allow from 127.0.0.1 <FilesMatch "\.(htm|html|css|js|php)$"> Order Allow,Deny ...
2
votes
1answer
723 views

Apache VERY high page load time

My Drupal 6 site has been running smoothly for years but recently has experienced intermittent periods of extreme slowness (10-60 sec page loads). Several hours of slowness followed by hours of normal ...
1
vote
2answers
105 views

Serve most of a domain with Apache, but use mod_proxy to serve some URLs from Lighttpd

So we wish to host some pages on a new server with apache2, and embed some of our old content & functionality from another server with lighttpd in an iframe. I'm looking at this configuration from ...
0
votes
1answer
94 views

Perl script rendered in browser as code through symlink - fine when accessed directly

I have a Rails 4 app that has some views that post to Perl cgi scripts. The perl scripts are accessed via a symbolic link to a folder called "cgi-bin". When I navigate to a perl script through the ...
1
vote
1answer
284 views

How to configure mod_bwlimited through htaccess

The mod_bwlimited module in htaccess apparently displays an error if bandwidth is exceeded. Anyone know what options are available for configuring it through htaccess?
2
votes
2answers
899 views

How to enable compression in WAMP installed on Windows Server?

How to enable compression in WAMP running on Windows Server 2008? I searched the net and I followed these steps given here: http://www.zigpress.com/2009/04/09/enabling-gzip-on-wamp/. But after ...
0
votes
1answer
108 views

Getting really weird entries in Apache log from Baidu.com?

I was looking through my server logs today, and I noticed this: (it's all one row) 118.244.179.250 - - [16/Oct/2013:20:59:25 +0000] "GET ...
2
votes
3answers
108 views

Different authentication for HTTP POST and GET requests in Apache

I want to authenticate for POST requests for http://path/to/logical/abc.xml (but not GET requests to that URL). How do I put constraints like this in place? The paths are logical and location ...
0
votes
2answers
52 views

Move site from one tld to another

If we want to move site from say xyz.com to xyz.org. What all things we need to do to make sure seo works fine. I am doing something like: Point both xyz.com and xyz.org to same IP where my site is ...
2
votes
1answer
171 views

Restricting post method and authentication to specifc URL paths in Apache .htaccess

I shall start with an example. I want to restrict to POST requests only for http://path/to/logical/abc.xml and restrict to GET only for http://path/to/logical/def.xml. How do I put constraints like ...
3
votes
1answer
2k views

Cannot load local resource

In spring project, I am generating some pdf file automatically in my application and storing it in $CATALINA_BASE in tomcat server. The path is : ...
0
votes
1answer
185 views

Password protecting dynamic URLs in Apache

I am handling many logical files request using the Apache server. To make the path simple I have used mod_rewrite in the httpd.conf. Now I am planning to enforce authentication on these logical file ...
1
vote
1answer
104 views

How to set up a single IP blocklist for multiple sites hosted on the same account

When running multiple sites on the same hosting account, one might find that an attacker has attempted to breach one site. A webmaster may want to block the IP address from all sites hosted in the ...
1
vote
1answer
166 views

Write to an alias directory on Apache

How do I enable writing via PHP to an alias directory. I have the following on my VirtualHost: <VirtualHost *:80> ServerName domain.com ServerAlias m.domain.com ...etc AliasMatch ...