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)

1
vote
0answers
31 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 ...
1
vote
0answers
19 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
20 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
32 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
56 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
32 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
66 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
24 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
34 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
15 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
81 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 ...
1
vote
0answers
9 views

ec2 instance timed out [migrated]

So I was ssh'd into my running instance while trying to set up Postfix for mailing.. I was fallowing this tutorial: http://flurdy.com/docs/postfix/#ec2. I got to the Shorewall part and fallowed all ...
0
votes
0answers
36 views

Server wont let me save URLs to MySQL database? [migrated]

I am posting here because all other forum say it's a server environ issue. I have a site with the ModX CMS on it hosted on a GoDaddy server (not sure about the specific setup is as client has ...
0
votes
0answers
9 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
27 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
26 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
42 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
14 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
29 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
8 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
22 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
26 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
41 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
41 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
26 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
29 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
23 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
141 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
163 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
19 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
49 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
27 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
78 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
287 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
46 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
27 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
28 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
69 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
102 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
74 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
35 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
75 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
43 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
168 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
79 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
110 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
29 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: ...
1
vote
1answer
45 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 ...