Apache (HTTP Server) /əˈpætʃiː/ is a modular cross-platform web server software with a large variety of features(called modules) including SSL, compression, log, proxy and server-side programming language interfaces like Perl, Python, Tcl, and PHP.

learn more… | top users | synonyms

0
votes
1answer
20 views

Rewrite and virtual hosts for moving subdomains to folder-like requests

I am administering a website that previously had mini-sites set up for various physical locations using sub-domains (city1.site.com, town2.site.com, etc.) and I now need to disable these mini-sites. ...
2
votes
1answer
19 views

Joomla internal only page

I have a LAMP setup and Joomla. I want to have some URLs/pages in my Joomla website only internally to my subnet. Is there a file/URL equivalent for Directory like this? <Directory ...
0
votes
1answer
15 views

Domain not accessing correct files in apache2 virtual hosts

I have 3 domains hosted on my Ubuntu server running apache2 as DNS I am using cloudflare.com abc.com and xyz.com are accessing correct files that are inside abc.com/public_html and xyz.com/public_html ...
1
vote
1answer
79 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
0answers
21 views

Apache mod rewrite rules for swapping directories

I am trying to correct for an issue where some dynamic urls were generated where the downstream directory paths were swapped with what is normal and then the links were published. For example: ...
2
votes
1answer
16 views

Handle an HTTP error dynamically in Apache

For my personal website, I wanted to make a webpage for every error that could come up on an Apache web server - so that it could fit in better with the style of the website instead of the generic ...
0
votes
1answer
21 views

Geolocalization of my website

I have a big problem with Geoip. My website has the following structure www.domain.com it.domain.com de.domain.com I use the maxmind geoip module in my Apache to redirect users in the appropriate ...
1
vote
0answers
33 views

In nano 000-default.conf (as root user) in Apache2 on EC2 Ubuntu Instance on AWS page is blank?

When I SSH into my ubuntu server on EC2 in Amazon Web Services, and I change to the root user using sudo su, I navigte to /etc/apache2/sites-available to make changes to the 000-default.conf file ...
2
votes
1answer
32 views

How to allow www.domain.com and domain.com on EC2 Ubuntu Instance on AWS

I have an EC2 Ubuntu Instance that I have apache2 installed on (along with php, mysql, mycrypt for a Laravel project). I have set up the correct nameservers, and www.domain.com is coming up online. ...
1
vote
1answer
35 views

Why web hosting providers use Apache for their plans?

As the title says, I see most web hosting companies provide plans that running Apache instead of Nginx. So, what is the reason that makes them stick with Apache? Although, Nginx is much more lighter ...
1
vote
1answer
356 views

Using mod_speling with multi-level htaccess and rewriterules

We recently switched formats for managing our 301s. For the most part, everything went well, but it seems to have stopped mod_speling from working properly. Here's what we changed: old ...
0
votes
1answer
41 views

Allowing access to an Apache virtual host from the local network only

I have a web page on a Linux server I administer, running Apache 2.2. This server is visible to the outside world for some other services. I would like to configure Apache so that a given virtual ...
0
votes
0answers
41 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 ...
0
votes
1answer
101 views

URL rewrite to another folder and file for specific requests

I have following directory structure on my local LAMP: www basic app router.php public index.html .htaccess and I can access my index page with localhost/basic/public/ and I am not using ...
0
votes
0answers
11 views

ProxyPassReverse doesn't seem to be working

I have the following virtual host on my personal web server which runs on my NAS.I have dynDNS setup to redirect both mydomain.com and *.mydomain.com to my NAS. <VirtualHost *:80> ...
1
vote
0answers
26 views

Geolocalization and Redirection

I have a multilanguage website. My project was to add the Geolocalization so base on the country that open the site to redirect in the specific url with the right language. The structure of the ...
3
votes
1answer
803 views

Enabling SSL on Apache2 causes address already in use error

My server works just fine on a normal Apache2 install. Now, I'm trying to install subversion on this server using a guide I found on the net called: Installation of Subversion on Ubuntu, with Apache, ...
1
vote
0answers
19 views

pointing Apache to the fresh log after newsyslog rotation?

OK, I've set up my Mac OS 10.8 2.2.24 Apache server, and it's serving well. Now I'm just trying to understand how to do log rotation. I'm using newsyslog, and it seems to work very well ... as in, I ...
3
votes
1answer
74 views

What steps are required to enable SSL on Apache2 with Ubuntu?

I am developing a strategy game for web where there there will be a lot of client-server traffic for sending attacks, moves, etc. Right now I send messages from the client to the server via HTTP, and ...
0
votes
1answer
20 views

unusual autoindex-like commands

In looking at my logs, I get many GET requests aimed at a directory with what appear to be auto-index parameters. Stuff like ?C=M or ?O=A. I understand those. But I also get many requests with ?N=D, ...
1
vote
2answers
86 views

IP, and page-specific redirect?

I'm trying to send a particular IP, that is trying to get one page on my site, to another page, and do this through my .htaccess file. I've seen many general descriptions of how to do it (in many ...
1
vote
0answers
25 views

Apache HeaderName does not work in .htaccess

So I have a .htaccess file in a subdirectory that contains a list of folders. In the main directory I have a .htaccess file that contains: Options +Indexes IndexOptions FancyIndexing AddType ...
2
votes
1answer
31 views

What is the precise term for serving internal URLs to external ones?

Consider URLs to a public API: https://api.example.com/items https://api.example.com/add https://api.example.com/remove ... Internally, the calls are being served from local URLs, for example: ...
1
vote
1answer
87 views

Apache: redirect URL of internal WSGI server

The following Apache conf file serves a WSGI application via port 9002: <VirtualHost *:9002> SSLEngine on SSLCertificateFile /etc/apache2/ssl/apache.crt SSLCertificateKeyFile ...
1
vote
1answer
26 views

Apache: Server the same document root from multiple ports

Consider the following apache site file: <VirtualHost *:9000> SSLEngine on ... DocumentRoot /var/www <Directory ...> ... </Directory> </VirtualHost> ...
1
vote
2answers
82 views

Question about my public_HTML folder permissions

I have a shared hosting account that uses cPanel and I think su_php. By default, the permissions for my public_HTML directory are set to 750, which allows my site and all folders/files inside ...
1
vote
0answers
35 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 ...
2
votes
1answer
46 views

Rebranding: how do I redirect my website to a new domain, and blog to a subdomain?

I have a website that I am rebranding and using a new domain name for. Right now it is primarily a blog hosted at the root. I am going to be redirecting from www.old.com to www.new.com, and I also ...
0
votes
0answers
74 views

SMTP Error: Could not open a socket to the SMTP server

I'm not sure how familiar some of you are on Invision Power Board(IPB). However this question someone includes their forum system. We currently host multiple servers with multiple web servers among ...
0
votes
0answers
15 views

Insert file from the current directory from within a central ssi include?

Our web pages use header and footer SSI includes and I'd like to insert some content specific to particular directories from within these. For example, say the header is located at ...
2
votes
1answer
259 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?
3
votes
1answer
156 views

Redirect www to non-www using Apache htaccess does not work

I have this in my .htaccess (modified from the default Drupal .htaccess): RewriteCond %{HTTP_HOST} ^www\.website.com\.com$ [NC] RewriteRule ^(.*)$ http://website.com/$1 [L,R=301] In theory this ...
2
votes
1answer
83 views

How to configure apache2 to just save certain POST requests without even passing them to application?

I'm running Apache in front of glassfish server using BalancerMember. For performance reasons I would like that POST requests on certain endpoint are just saved to a file without passing them to ...
2
votes
3answers
4k views

Apache logs: “::1 … ”OPTIONS * HTTP/1.0" 200 -

Just looking at logs of a not-so-busy site on one of our Apache servers and notice tons of these in the log: ::1 - - [15/Apr/2011:12:11:40 -0700] "OPTIONS * HTTP/1.0" 200 - ::1 - - ...
1
vote
2answers
91 views

Rewrite using .htaccess results in too many redirects

I'm currently creating a webpage which requires rewrites to look nice. The URL is: u.{my_site}/get.php?fid={ID}. The URL entered should be: u.{my_site}/{ID}. Because I'm bad (and new) at rewrite ...
0
votes
1answer
81 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 ...
2
votes
1answer
726 views

How to properly deny Railo directory access through Apache

I've been battle tested on this and failed to achieve my goal which is to deny all access to all directories except the Public directory and only allow access to all all other directories with ...
0
votes
1answer
122 views

Can I redirect the HTTP request towards an old folder to the homepage using .htaccess file?

I have to following situation: I had an old blog that was made using Joomla (this blog was indexed well enough by search engines). For some problems I delete it and I have create it again using ...
4
votes
1answer
322 views

What VPS spec would I require to run WordPress [closed]

I am looking to move an existing WordPress website to a virtual private server (VPS). It will be a Debian (minimal install) running ISPConfig3, Squirrel Mail, and Apache2. The WordPress site ...
0
votes
1answer
88 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 ...
0
votes
2answers
38 views

SSL issue and redirects from https to http

I have a site www.example.com for which i purchased SSL cert and installed. And it was working fine, I also have a subdomain with app.example.com which was not on SSL. Both www.example.com and ...
0
votes
1answer
199 views

Using Apache's rewrite module to set up local host names for development

I have several websites on my development machine under Apache's htdocs folder. Apache Directory root is htdocs, but I want to be able to access each different site there by individual domain names. ...
0
votes
1answer
328 views

index.pl getting downloaded instead of executing on Ubuntu 12.04 and Apache 2.2.22

I have installed Apache 2.2.22 on Ubuntu 12.04. But in browser when I type localhost, it gives index.pl file to download instead of executing it. What I tried: 1. chmod 755 index.pl 2. Adding line ...
1
vote
1answer
93 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
2answers
426 views

Automatic redirection from http to https with .htaccess authentication in virtual hosting

Hi I have configured Virtual host on apache with .htaccess authentication with SSL. It's working fine when I typed url https://www.example.com:9004/test.php but when I typed ...
3
votes
1answer
123 views

Which is more supported by web clients (browsers): SAN (Subject Alternative Name) or Wildcard SSL Certificates?

Which are more widely supported by browser clients, wildcard or SAN certificates? I need to decide between using a SAN cert or a wildcard cert. Client/browser compatibility is my biggest concern.
2
votes
3answers
15k views

Configure apache to make local website available for external people

I would like to make my local website (running on a virtual CentOs machine) accessible for my mate who is also working on the website. I have created a new line in my router config to forward all ...
2
votes
2answers
9k views

Apr_sockaddr_info_get() Failed

Today while trying to start apache server I received an error: Apr_sockaddr_info_get() Failed I would like to get opinions / answers to resolve this issue. I would like to know what exactly is ...
1
vote
1answer
36 views

What is the purpose of <Directory /> with a local <VirtualHost>

<VirtualHost *:80> DocumentRoot /var/www <Directory /> </Directory> </VirtualHost> Does the <Directory> tag refer to /var/www on the server, or /? What ...
6
votes
1answer
387 views

How do I capture incoming HTTP requests for analysis?

I have a site that is hit pretty hard by a 'bot script that thinks it is possible to brute-force the Admin password by "trying" out different passwords with the username "Admin". Here is an excerpt ...