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
15 views

Hosting htaccess redirect subdirectory to subdomain

I have simple hosting plan with domains included: Now I have the domain.com and seconddomain.com now I want to use all that domain and give them his own root directory. If I use the controle panel ...
1
vote
0answers
15 views

Why does Apache parse .htaccess if accessed through the main page and not through a VirtualHost?

I have two websites. One is hosted on /var/www (www.example.com) and the other is /var/www/test (test.example.com). The second is a VirtualHost. I wrote a .htaccess (I'm using it to mod_rewrite), put ...
1
vote
1answer
14 views

Apache 2.2 Not Identifying Safari with HTTP_USER_AGENT

I have a web server that has to meet PCI compliance requirements. Their latest round of policy changes have removed support for Safari, after having removed support for Windows XP based IE clients. ...
0
votes
1answer
31 views

Vanity URLs with .htaccess and PHP?

I need to create a vanity URL redirect using htaccess and PHP. My requirements are: If a user writes example.com/users/foobar The client will be redirected to for example: profile.php?user=foobar in ...
1
vote
1answer
46 views

how can i display the MD5 or SHA1 of files in a web server directory?

When you don't have an index.html, most web servers will show a list of files in the directory. Can I get preferably lighttpd (but Apache as a backup) to do show a file's MD5/SHA1 (along with ...
3
votes
1answer
36 views

Server does not lookup www or other subdomains

I have some problems, and I think that it's related to DNS Records. I can't open my website by www. or access any sub-domain. These are my DNS settings: example.de. 14400 IN A ...
0
votes
0answers
3 views

What should I look for when getting a web host for a Wordpress site and php API's for my mobile applications? [duplicate]

I am an iOS developer and I want to expand and get a server (not to buy it, web hosting...i guess). I want a place where to put a site(probably WordPress site&blog), and a place where I can put my ...
0
votes
2answers
19 views

Google PageSpeed Insight: redirecting non-www to www does not use cache version

If I test my website with Google PageSpeed, I get a lower score if I test mydomain.com than if I test www.mydomain.com. In the first case, Google complains my server took too much time to respond. I ...
3
votes
2answers
98 views

redirect 204 with htaccess if url contain certain string

I get tons of url with "undefined" added at the end of url, consisting about 20% of my pageview. I tried to check the troubling script source and can't find it. Tried some solutions but none of them ...
0
votes
1answer
21 views

Granting a developer cPanel access but disabling downloads

I need to hire a dev to do some work on my site, however as it is a very large one and valueable at the same time, i don't want to risk a dev stealing the work and mechanisms behind it. I will need ...
2
votes
1answer
49 views

Have disabled apache site config file 000-default.conf, but it still seems active. Why?

I added a file mysite.conf to my apache sites-available folder with the correct settings, then enabled it and reloaded apache, and it isn't working. I want to disable the default site config as ...
1
vote
1answer
14 views

Default Apache webroot different to what I expect; seems to be /var/www/html rather than /var/www

I have a new installation of Apache in Ubuntu 14.04.2 The /etc/apache2/apache2.conf file contains: <Directory /var/www/> Options Indexes FollowSymLinks AllowOverride None ...
0
votes
1answer
35 views

Virtualhost config: routing and wildcard usage

My VirtualHost config is below: <VirtualHost *:80> ServerName www.abcd.com ServerAlias abcd.com DocumentRoot /var/www/abcd/html </VirtualHost> I want to ...
0
votes
1answer
25 views

Find domain on access_logs in Apache

I am in charge of a server that is receiving strange requests for a file that doesn't exists and it never existed and I am trying to find which account they are comming from(CentOS + Plesk) The logs ...
1
vote
1answer
49 views

Internal Server Error 500 .htaccess

For years, I have been using the following .htaccess for PHP to execute within HTML on Apache at GoDaddy: AddHandler fcgid-script .html FCGIWrapper /usr/local/cpanel/cgi-sys/php5 .html A few days ...
1
vote
2answers
32 views

error.log file in public_html which is publically viewable?

There is a file in my public_html folder called error.log which is viewable by anyone if they just enter the URL in their browser, like: example.com/error.log I'm running Apache. My question is, how ...
0
votes
1answer
23 views

SEO advantages of /blog when forwarding via ProxyPass

We've had requests from clients via their SEO companies to host blogs accompanying ecommerce sites on theirdomain.com/blog rather than on - for example - blog.theirdomain.com As we look after their ...
0
votes
2answers
33 views

Can I manipulate the DNS protocol to host websites across multiple servers?

Let's pretend that I'm hosting a very big and popular website. Let's also pretend that I have many web servers spread out all around the world. Each web server containing identical files. If I make ...
1
vote
0answers
47 views

File does not exist from wacky websites?

Our LAMPs website has been running slow as of late, I suspect its a SQL problem but I want to check all the logs. Can somebody explain what the following log means, and give some insight if it is a ...
0
votes
0answers
11 views

set chrome permission for whole domain?

I have a website running apache. In my conf, I have this at the end: <Directory /usr/local/django/apache> Order deny,allow Allow from all AuthType Basic AuthName "Files Top Secret" ...
2
votes
1answer
48 views

Why can't I redirect www to non-www on my addon domain?

I have a domain example.com in which I'm doing this to redirect all my traffic from www version to non-www: RewriteEngine On RewriteCond %{HTTP_HOST} ^www.(.+)$ [NC] RewriteRule ^(.*)$ http://%1/$1 ...
1
vote
1answer
54 views

Subdomain htaccess rules

I have the following .htaccess in my root: DirectoryIndex index.html index.php Options +Indexes # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ...
2
votes
2answers
81 views

Limit access to rewritten uri based on IP address

I'd like to limit access to a Drupal 7 registration page (/user/register) from certain IP addresses. I've tried to set the apache directive, but it's still letting me access it from an IP that isn't ...
1
vote
1answer
33 views

Is there anything unusual or nefarious about private IP addresses in server logs?

A site I help take care of has just started getting crawled by somebody from 172.31.13.241 and 172.31.42.227 . According to WHOIS info, these are part of a block reserved by IANA for special purposes, ...
0
votes
1answer
48 views

Append encoding information to HTTP response headers

I have an old web application (not maintained anymore) of which a small part is still needed; this is displayed in iframes. Unfortunately, the old application uses ISO-8859-1 encoding (which it ...
1
vote
1answer
63 views

Apache htaccess - modify query string with mod_rewrite

I've recently changed scripting on my website, and this has resulted in a few 404 errors as some very old queries are no longer being redirected correctly. I've been trying to create a rewrite rule ...
3
votes
1answer
24 views

Require valid ServerName in httpd.conf

I have two virtual hosts, and have sites1.com and sites2.com pointing to my server. All works fine. <VirtualHost *:80> ServerName site1.com DocumentRoot /var/www/site1/html ...
0
votes
0answers
52 views

Moving subdomain to a different hosting provider

Currently my subdomain is hosted within same webhotel as my main domain. I would like to change it to point another domain (website on Windows Azure). Subdomain should be accessible all the time ...
1
vote
1answer
24 views

In httpd.conf why would you want AddType for phps?

We have an AddType as follows: AddType application/x-httpd-php-source .phps I was wondering what this was, and did some searching. It seems this is barely documented anywhere. Based on a hunch, I ...
0
votes
1answer
72 views

Wordpress, Apache and Nginx: permalinks and cache

I have a server with Ubuntu 14.04.1, Apache at port 8008 and nginx at port 80 as a proxy for Apache. It runs a website based on Wordpress. I use Wordpress's plugin WP Super Cache with the following ...
0
votes
0answers
29 views

Brand new domain and server using URL Rewrite flagged by Google for Phishing

I set up a VM with 1and1.com and registered a domain. I'm running an app (Jira) that runs on its own Tomcat instance but I have set up URL Rewriting based on this article so that IIS can handle the ...
1
vote
1answer
165 views

Not downloading a file if download URL uses different localhost port

I have a text file and want to download it. I am working in localhost. The HTML page from which I am downloading file, is called from localhost:8080. And the file which I want to download, I am ...
0
votes
0answers
17 views

URL Rewrite not working for API

I'm attempting to create an API server for a course I'm taking and having an issue with enabling URL rewrite. I have an htaccess file and an api.php, what my goal is is just to be able to go to ...
0
votes
0answers
28 views

How to customize LogFormat for Apache Virtual Hosts?

I really need some help with this. My server has multiple virtual hosts, each virtual host has its access log, I need to be able to customize the LogFormat for each virtual host exist on server. I ...
0
votes
1answer
35 views

Enabling URL rewriting for API

I'm new to configuring API web servers and I'm trying to enable URL rewriting for the server so that a user can go to my public DNS.com/getAlbum to access a method within my api.php file (assumption, ...
0
votes
0answers
36 views

cPanel latest visitors log configuration file path

I was trying to change the LogFormat for the Latest Visitors stats to report clients' real IPs, but I couldn't find a path for it. I've already modified the LogFormat in httpd.conf file and now the ...
0
votes
1answer
48 views

Apache returning incorrect bootstrap.min.css file

Running Apache 2.2 on CentOS 7 I have a bootstrap.min.css file: /css/bootstrap.min.css It is version 2.2.1. However, when I go to http://example.com/css/bootstrap.min.css, I get a bootstrap file ...
0
votes
1answer
80 views

Chrome flags my SSL

Chrome keeps on showing me yellow triangle, 4 days ago padlock was green. I reissued the certificate and every ssl check test i found passed. Domain is buzztera.gr, do you guy know any other tool i ...
1
vote
0answers
26 views

mod_rewrite cause errors in apache error.log

In Opencart I have enabled SEO URLS, which is working fine, unless that I see errors in apache log: [Thu Apr 16 22:53:38 2015] [error] [client xy] File does not exist: ...
0
votes
1answer
37 views

http-basic auth, else placeholder-page

Is it possible to show a http-basic-auth, and when someone fails that test, show a certain HTML-placeholder-page? If so, how can I achieve that?
0
votes
1answer
81 views

How can I get a regular expression to only match an empty string? (In a .htaccess file)

I try to make a regular expression in a .htaccess file, that matches only an empty string. I have tried many things, but it seems like it’s impossible. For example, I tried ^$, but it's looking for ...
1
vote
0answers
30 views

Security and Apache Methods

I occasionally get annoying POST requests but one lately caused a 500 error. Not a biggie really, but it got me thinking. My site does not have but one form. Outside of this, POST should not exist ...
1
vote
0answers
75 views

I'm only able to reach my site using www, but not non-www

I had a website at example.com. I created another website (example.hotelrunner.com) using HotelRunner and changed domains. I did that by changing the A records and CNAME at Netfirms. Now example.com ...
1
vote
1answer
40 views

Getting 406 on IE after google redirects my site

I have a wordpress blog. When I search the posts from my site in google, the results appear and on clicking the result I can open that particular post on my site. But while doing the same on Internet ...
1
vote
1answer
40 views

Problems with apache rewrite

I am running tomcat on centos6. I'm trying to configure Apache as a front end to tomcat so I could access: help-test.example.com:8080/4-3/help help-test.example.com:8080/4-2/help ...
1
vote
1answer
122 views

Apache / cPanel document root for subdirectory

In cPanel, I'm aware how to set document roots for domains, but I'm trying to have different document roots for a domain depending on the subdirectory. URL | Document Root ...
1
vote
2answers
41 views

Redirect :80 to :8080/ui on Apache

I need to redirect port :80 to :8080/ui. I know iptables lets you redirect :80 to :8080 but it doesn't accept the URL part, only the port. How should I do it? It is acceptable to change the URL to ...
2
votes
0answers
31 views

mod_ident not to be trusted? [closed]

I'm looking at Apache's mod_ident: http://httpd.apache.org/docs/2.2/mod/mod_ident.html However, on this page it has the following disclaimer: The information should not be trusted in any way except ...
0
votes
1answer
82 views

Configure Apache virtual hosts - all subdomains to 404

It's the first time that I try to configure apache so I hope you can help me. This is what I want to achieve: All undefined subdomains should lead to not found if they aren't defined Root folder ...
0
votes
0answers
19 views

apache logs in millisecond resolution

Is there a way I can configure apache to log all requests in millisecond resolution instead of its usual one-second resolution? The reason I ask is because I have so many script kiddies making ...