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
1answer
6 views

WAMP VirtualHost 403

I recently installed WAMP, and started developing on its Apache server. Given that my text editor (Sublime) didn't have permissions to write on C disk directly, I changed my default DocumentRoot to My ...
0
votes
0answers
9 views

DNS and Apache redirect to another domain while maintaining full path [on hold]

I run into a bit of a problem I'm the deer velier of a website and my client is asking for domain mask. Website allow virtual subdomains like http://user.domain.com. In PHP I parse the sub domain and ...
0
votes
0answers
7 views

RewriteRule not working properly in my ubuntu server 14.04 running in Windows Azure

In my server I kept signup.php and in htaccess I kept this thing - RewriteRule ^/registration/?$ http://www.mydomain.com/signup$1 [R] But this is not redirecting ...
0
votes
0answers
14 views

Bingbot can't access my centos server websites

I have 2 webservers under the same firewall. One is Windows IIS and the other is a centos with apache and ISPCONFIG. For some reason when I try to add URLs or sitemaps inside bing webmaster tools it ...
0
votes
1answer
12 views

Apache Tomcat Password?

I'm using dsBudget to manage my budgeting software. It's an apache tomcat web app. Would anyone know how I can password protect it? Basically it is designed to work on a local machine, but I want to ...
2
votes
1answer
124 views

Will /sbin/nologin Protect Apache from Bash Exploit CVE-2014-6271 [closed]

It was announced widely today (September 24, 2014) that it is possible to manipulate environment variables to execute approximately arbitrary code on *nix systems where Bash is the default shell. ...
0
votes
0answers
10 views

How much RAM to allocate to Apache and other VMs? [closed]

I have a server computer that I've build, am I'm planning on hosting multiple websites on the server (at the moment, I have a Linode server and I am using Apache to manage the multiple domains). The ...
0
votes
0answers
21 views

Apache WAMP and .htaccess

I recently installed WAMP and everything is working great, however I git cloned a website I am supposed to work on, and it has a .htaccess on it to allow Slim (PHP framework) to handle the url ...
0
votes
1answer
22 views

www subdomain is crashed and no-www is ok

I have noticed when browsing my site using www. symbols are appearing within the body like so: <body>�껈ƶ</body> but viewing the site without www works fine. Summary Symbols when viewing ...
2
votes
1answer
64 views

Cache control header specified in .htaccess is not working for static files

I'm trying to use Google PageSpeed Insights to speed up my website - www.edmhunters.com. First off, here is what my .htaccess file looks like # ...
0
votes
1answer
14 views

Moving RewriteBase rule in htaccess to httpd.conf

I'm now working in a server environment where I can access and edit httpd.conf, which is preferable from a performance and a revision control standpoint. I have a few sites (they are Drupal) running ...
1
vote
0answers
23 views

Apache virtual hosts configuration for MAMP results in new sites going to the same folder

I have MAMP installed in my mac. Why is it that every time I create a new site, they all go to the same folder? Here is my /etc/hosts file: 127.0.0.1 localhost 255.255.255.255 broadcasthost ::1 ...
0
votes
0answers
17 views

How to install/update/upgrade SSL certificate in Tomcat?

I am about to install/update/upgrade a SSL certificate in one of the servers which has the following configuration Sever information: Sever version: Apache Tomcat/6.0.35 OS version: Linux ...
0
votes
0answers
4 views

PHP Caching Too Long [migrated]

I rolled out a pretty simple cache system on my site last week using a PHP class referenced in my sitewide template file. The cache system dramatically improved server response times (the template ...
1
vote
0answers
38 views

Unexplained long Time To First Byte

My wordpress blog is getting a grade F for TTFB on webpagetest.org: http://www.webpagetest.org/result/140905_20_PRX/ with a TTFB of over 800ms. I cannot explain it. Indeed, I use a CloudFlare CDN, ...
1
vote
3answers
99 views

WordPress XML-RPC attack

Yesterday I suffered a DDoS attack on a WordPress site. I had 21,443 hits with HTTP Status code 404 and a Bandwidth of 711.85 MB. Also, CPU usage went to 100%. Logs show a lot of this entries: ... ...
0
votes
0answers
13 views

Problem using mod_deflate with ProxyPass

Using Apache 2.0 (2.0.53) on a particular legacy system, enabling mod_deflate causes directly-served content to be gzip-encoded just fine. However, and this is my problem, content proxied from another ...
1
vote
1answer
18 views

Im getting the IP of my VPS instead of the domain in Google search results

Im getting the ip of my vps instead of the domain in web results. I don't have the same problem with other sites inside the vps. <VirtualHost *:80> ServerName www.todocamino.info ...
0
votes
1answer
12 views

How to redirect a domain to IP+port?

I have a website on localhost. On the other hand, I have a program running on localhost:8067. I would like to manage the next: Type localhost on the URL and go to the website. Type my.domain.com on ...
0
votes
1answer
34 views

Can't change HTTP Vary header from PHP

I have a test server running CentOS, and changing the Vary header there through PHP via: header('Vary: Accept'); works as expected (it's added to the Accept-Encoding value that Apache already adds ...
2
votes
1answer
70 views

Can this be achieved with a reverse-proxy?

I have a website that was developed and is hosted on a Windows server (Server A). We want to have these Windows hosted pages to show up on another website that is hosted on a Linux server (Server B). ...
1
vote
1answer
53 views

Need help getting 'www' working for domains and subdomains using Apache & DNS

I've searched through a lot of different posts asking this question and I haven't really seen a straight forward answer on how to get this working. At the moment, with the following settings, adding ...
0
votes
1answer
18 views

Apache 2.4 mp4 streaming out of the box

I used mod_h426 to stream mp4s on Apache 2.2. I've updated Apache to 2.4, which obviously broke the mod, so I had to recompile it. But I tested my vod setup without the mod, and mp4s stream just fine. ...
0
votes
1answer
29 views

Wamp Server Not Parsing htm Files As PHP

I know this question has been already asked here. I am trying to use a script in my localhost. The script contains .htm files and an .htaccess file with the following code to parse those .htm files as ...
0
votes
1answer
29 views

Apache 403 error despite group permission

I have a NAS running Linux with a Apache 2.2. I want the apache process (running as user nobody) to run as different group "users" to read some files. I tried the following without success: in its ...
1
vote
1answer
85 views

My Apache access log contains weird GET and POST requests, what can I do?

My Apache access log contains weird GET and POST requests, is it possible to examine which of these are harmful? For example: 114.232.151.185 - - [11/Jun/2014:20:11:33 +0200] "GET ...
1
vote
4answers
76 views

Should error pages be strictly html?

I'm using PHP on Apache server I'm wondering.. If the error pages should best be served as pure and simple html, without database connection etc.? This would remove any chance of ...
2
votes
1answer
70 views

Apache HTTPS ProxyPass certificate location

I'm trying to set up an Apache server that uses ProxyPass to pass HTTPS requests on to another server. Let's call the proxy server ALPHA and the target server BETA. ALPHA does not run HTTPS, but ...
1
vote
0answers
28 views

Apache2 and FTP

I just set up an Apache web server on my Raspberry Pi, along with MySQL and PHP5, and to upload files i set up vsftpd. The thing is that the ftp connection sent me to my pi user home directory, ...
0
votes
0answers
3 views

htaccess rewrite containing “rsform” doesn't work [closed]

The guys at ProWebmasters suggested moving this question to stackoverflow so here I am, original question: ...
0
votes
1answer
26 views

How to redirect a subdomain to the main domain so I can use an SSL certificate?

I have an apache server hosting with one IP address hosting a www and a 'sub' domain using <virtualhost>. That worked fine until I needed an EV certificate which works on only 1 domain. It ...
3
votes
2answers
152 views

Apache Rewrite Rule non-www to www + http to https + remove trailing slash

I would like to accomplish the following: rewrite non-www to www redirect from http to https remove trailing slash e.g. http://example.co.uk should redirect to https://www.example.co.uk How ...
0
votes
1answer
23 views

Page requesting content from another IP

I was running a drupal website on Server 01 with IP1 on the domain name example.com with the configuration centos 6 and apache. As we were having a traffic spike, we wanted a more powerful machine. ...
4
votes
1answer
43 views

Statically mapping a PHP script to another script using an .htaccess file results in 404 errors

After having read a lot of posts on the topic of URL rewriting, I still remain stuck with 404 status errors. My goal: A 'static' rewrite of URLs, as follows (user clicks or enters the one ...
0
votes
0answers
6 views

Requests for site not hosted on my server [duplicate]

I am seeing http get requests in my servers access log for a site that is not hosted on my server and also the dns records of the site do not point to my server the domain points to 3 ip addresses in ...
1
vote
4answers
54 views

Using a .htaccess to RewriteRule and Redirect 301 at the same time?

I have a couple of specific URLs that I want to display differently on my website, like this: RewriteRule ^contact$ contact.php To get ride of the ".php" extension. And to be SEO friendly (to ...
5
votes
2answers
639 views

How can I disallow access to my website by its IP address?

I want my website to be accessible only by the domain name, not by the server’s IP address. How can I configure Apache to achieve this? Below are the VirtualHost configurations of Apache. ...
0
votes
1answer
50 views

Fatal PHP Data Objects (PDO) Error - But PDO is enabled?

I recently switched website hosts, however with the new hosts, we are encountering some PDO problems. Everything indicates that PDO is enabled on my server, however, when I test it through php, with a ...
2
votes
1answer
47 views

Proxy pass from apache to jetty using localhost

In my `/etc/apache2/sites-enabled file I have two proxy pass statements: one to a Virtuoso server which works with localhost and one to a jetty server on localhost which doesn't, because "Firefox ...
0
votes
1answer
30 views

How to include/install mod_proxy_http.c on JustHost

I'm using a service that requires a URL to be sent to their site so that it can return an HTML snapshot to Googles crawlers. In their .htaccess code it has the line <IfModule mod_proxy_http.c> ...
0
votes
0answers
12 views

Only Allowing My IP with .htaccess for Maintenance Mode [duplicate]

I am attempting to redirect all users to a maintenance page, while only allowing myself to use the website. I currently have the redirect working, but cannot seem to allow myself to access the site. ...
1
vote
1answer
31 views

Apache URL rewriting with masking and includes outside of DocumentRoot

I have an Apache 2.2.15 web server with the primary site at /web/mybiz which corresponds to http://mybiz.domain.com. We now have a new subdomain http://abc.mybiz.domain.com with the homepage living at ...
1
vote
1answer
85 views

RewriteRule to send all URLs with `mod` in them to the `moderator` directory

I have a .htaccess file in the root directory of my project, that contains all the rewrite rules for the site to functions. Most of these rules belong to the mod section of the site, and only two of ...
2
votes
1answer
55 views

Rewrite up to three folders into three query string parameters to a PHP script

I'd like to use mod_rewrite within the .htaccess file to rewrite folders to a var string. Below is examples of current and what I would prefer. Current URL: example.com/main/folder1/folder2/folder3 ...
0
votes
4answers
36 views

Problem getting rewrite from subdomain to directory to work

I want to redirect demo.example.com to example.com/my-demo. This is my rewrite rule, but I'm not getting it to work on my production server: RewriteCond %{HTTP_HOST} ^demo\.example\.com ...
0
votes
1answer
33 views

Only IPv6 errors in apache error “file does not exist” (while the file exist in IPv4)

Situation: VPS with Apache, multiple websites. Document root is /var/www/html but nothing can be found there because the files of the websites are found in /domains/mywebsite.com/public_html/ ...
1
vote
1answer
63 views

How to block a wildcard subdomain in httpd.conf

So I am able to block specific subdomains like this: SetEnvIfNoCase Referer knownsub\.sorryspammer\.com sorryspammer <Location /> Order Allow,Deny Allow from all Deny from env=sorryspammer ...
0
votes
1answer
59 views

301 redirect to the new website but without apostrophes in the URL

I am trying to 301 a page that has a ' in the URL and regular redirect 301 doesn't work. Is there a way to match part of the URL until the ' and use that to 301 to a new page? Example URLs are below: ...
0
votes
0answers
20 views

IE not using AES on Website

I hope I chose the right topic this time :) So: I wanted to disable RC4 and "force" PFS on my website. Without modification, every browser used RC4. As I don't have access to the root directory I did ...
0
votes
2answers
97 views

How to run WordPress and Java web app running on Tomcat on the same server?

I have to run a WordPress site served via Apache2 & Java-based webapp using Tomcat on the same server. When users come to example.com or example.com/public-pages they need to served from ...