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)

2
votes
1answer
34 views

How to add the ‘www’ prefix to my domain

I am trying to add www to my domain. I have the custom PHPcode on live server. I have workout GoDaddy forward options also but still my domain not forward. I have a site designed in Core PHPand was ...
0
votes
0answers
16 views

DDOS from several Chinese sites [on hold]

I've been getting floods of traffic from several Chinese "SEO" sites. They appear to open up tons of AJAX connections to various sites. I'm not sure what is going on here.. but all of the ...
1
vote
0answers
19 views

How to configure nginx to dynamically read folders, user accounts/domains? [migrated]

I have cPanel and Apache 2.4 on my CentOS 6.6 VPS. I installed Nginx as a reverse proxy. Everything works fine. I have 2 domains on the VPS & I'm able to configure them both on nginx. The ...
0
votes
1answer
11 views

Apache Configuration - Directory

I am trying to figure out why i can not access my folder for web-mail yet i have got the correct location and copied a working directory above. Forbidden You don't have permission to access /mail ...
1
vote
1answer
9 views

Bypass all rules and redirect internally to another folder/file

In Apache config file, there are some rules defines like below: <IfModule mod_rewrite.c> RewriteRule ^(Category)/([^/]+)/(.+)$ index.php?module=$1&id=$2&action=$3 [B,L,QSA] ...
2
votes
1answer
47 views

Apache Unable to open logs: /Applications/MAMP/Library/${APACHE_LOG_DIR}/error.log

I am trying to run a project built in Ubuntu with PHP on fat-free framework. I am using MAMP on macOS Yosemite 10.10.1. I imported a database successfully through phpmyadmin & following these ...
1
vote
2answers
50 views

301ing a 301 URL to yet another 301, bad for SEO?

I am working on a website that has a huge amount of 301s in it due to new versions of the website being roled out and thus different URL structures being used. I have noticed that some of the old ...
1
vote
0answers
94 views

Can Apache .htaccess convert the percent-encoding in encoded URIs from Win-1252 to UTF-8?

I want to add a directive in my .htaccess, such that if the browser is pointed at a URI containing %E4 (ä) - or any other special character - the .htaccess automatically rewrites %E4 (ä) as %C3%A4 ...
2
votes
1answer
36 views

Sharing CodeIgniter installation between different servers

Current situation: I've got 2 different servers, each one hosting its own CI installation, and everything is working fine, except a lot of code is duplicated (custom libraries, some views, etc) My ...
0
votes
2answers
23 views

How to fake domain on OS X?

I have added an entry to my hosts file which allows me to have localhost URLs like the following: http://mydomain.dev/~macuser/mydomain/index.php But I would like to somehow map this host entry ...
2
votes
2answers
63 views

Add domain to VPS (DNS?)

I have a VPS and some domains. I want to add one of my domains to the VPS. My VPS provider has send me his Nameservers like ns1.example.com and ns2.example.com and I changed these DNS records in my ...
1
vote
2answers
119 views

What are spiders trying to achieve on my site by fetching lots of non-existant urls such as various versions of phpMyAdmin?

I've recently set up a build server that compiles Java source on Github webhooks. I created a public page for downloading latest .jars with a top level domain and I'm logging requests to it. What are ...
0
votes
0answers
80 views

GET 404 errors, when trying to access the web interface of Odoo/OpenERP after installation [closed]

I try to host Odoo on a shard-hosting server and after installation I only get this part of the website: It's looking like this in the awesome Network Monitor of Firefox: Here's a small snippet ...
1
vote
2answers
112 views

Remove trailing slash and index.html in .htaccess

I seem to be stuck here trying to figure out how to redirect the following scenarios: /foo/index.html -> /foo (remove trailing slash, index.html as 301) /foo/ -> /foo (remove ...
1
vote
1answer
31 views

Trailing slash on Root folder - Is it possible to remove it without 301?

I have noticed something very strange on the site I'm working on. We currently only show http://www.example.com. The URL http://www.example.com/ (slash at the end) gets 301ed to ...
1
vote
1answer
36 views

Removing trailing slash ONLY for a specific directory

I would like to 301 redirect my URL that has a trailing slash to a URL without a trailing slash. That part is simple (RewriteRule ^(.*)\/(\?.*)?$ $1$2 [R=301,L]) However I only want to do it if that ...
0
votes
1answer
17 views

How to configure JSF and Apache to use a domain name on port 80?

I am currently trying to setup my server on port 80 and I cannot seem to get it to work correctly. I am currently using Intellij as an IDE and have no idea why this is not working. I first tried just ...
2
votes
2answers
101 views

Browser will not cancel the request if routed through PHP

I have a site which has a feature that causes Apache to route all requests for files in a particular directory through a PHP script via .htaccess. A problem has come up that I'm not sure how to ...
0
votes
0answers
11 views

JSF DNS Server configuration with Namecheap [duplicate]

I currently have a website that I built and am hosting it on port 8080. I finally finished everything that I wanted and want to deploy it. I created a namecheap account and paid for a year service. I ...
1
vote
0answers
44 views

Apache 404 Issue after upgrading from Mavericks to Yosemites

Good afternoon fellow StachExachangers, Background story: I have recently upgraded my macbook pro from Mavericks to Yosemites, everything went well except my local development environment got ...
1
vote
0answers
31 views

How can you use Apache .htaccess to specify the location of the PHP binary on shared hosting?

I'm using shared hosting, can create .htaccess and php.ini and have access to ssh. I have PHP 5.6 installed to ~/public_html/php56 and can use this path with ssh, cron and exec() but not on the web. ...
1
vote
1answer
58 views

Rewrite root folders to a php file and exclude some folders

I want to rewrite all the root folders to mysite.com/index.php?folder=^folder using Apache htaccess. However, I don't want the images folder to be rewritten. Like Facebook.
3
votes
1answer
31 views

Is it normal when the request line of apache log contains a ~username component?

I have a site at a big hosting company and I checked the apache log generated by the site and I saw requests like this in it: "GET hostname/~username/proj/favicon.ico HTTP/1.1" Where hostname is ...
1
vote
1answer
16 views

Undo a change to HTTPS

I recently moved my site from http://www.example.com to https://www.example.com Now, due to an issue with the SSL certificate authority I have had to pull it down and reverse it back to http:// Now ...
1
vote
1answer
33 views

Apache block all requests but my IP using the config file

I'm looking to upload the website that I've developed locally to my remote web server. However, so that I can test that the upload has gone fine and that all the basic security is in place, I want to ...
0
votes
0answers
10 views

Apache memory being used over 50% [closed]

Can anyone tell me, what is wrong here. My health status is always red and apache memory being used about 20%-50%. Server has 1gb ram und there are ~8domains, but traffic is very low for all of them. ...
1
vote
1answer
26 views

SSL certificate for server with 2 static ips

We have an apache server in our office premises which is used for some ssl related requests. The office premise has 2 internet connections with static ip address. The internet connections are switched ...
0
votes
1answer
27 views

High trafic: website crash and error

Since 1 week, my website crashes 1 or 2 times a hour. The message error is: 504 gateway time-out - nginx Then it crashes again. This problem appears when I edit something in the admin panel. For ...
2
votes
1answer
45 views

Apache Redirect for Internal Traffic Only

We have a page, gateway.school.edu, where users have to fill out a recaptcha before being directed forward to our password reset. I would like any internal traffic, any user agent on our network with ...
0
votes
1answer
42 views

Abuse on server, thousands of hits on /error/list/socks5.php

For several monts now, I've been noticing several IPs at random time hitting our server without providing any virtual host. The hits are all 404 errors and repeat every second for a period of time. ...
1
vote
1answer
39 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
1answer
42 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.example.com/signup$1 [R] But this is not redirecting www.example.com/registration/ to ...
1
vote
1answer
25 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
146 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. ...
2
votes
1answer
217 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
22 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 ...
2
votes
1answer
57 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 ...
1
vote
0answers
31 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 ...
2
votes
1answer
91 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
368 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: ... ...
1
vote
0answers
71 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
28 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 ...
1
vote
1answer
37 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
83 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
115 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
78 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 ...
1
vote
1answer
42 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
115 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 ...
1
vote
1answer
51 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
212 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 ...