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

1
vote
1answer
60 views

Redirect https://example.com naked to https://www.example.com

I am redirecting all http:// request to https:// using apache2 virtual host file: <VirtualHost *:80> ServerName example.com ServerAlias www.example.com Redirect / ...
1
vote
1answer
46 views

XAMPP alias or rewrite?

I have a site running on W2012 with XAMPP. I have a live site that was in subfolder /foo. It now needs to be changed to /home. I set up an alias Alias /foo "C:/xampp/htdocs/home" This takes ...
1
vote
1answer
38 views

ProxyPassReverse doesn't keep me own the proxy URL when I click around

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
1answer
501 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
78 views

.htaccess rewrite but keep basic URL

I have basic domain, for example, domain1.com. Also I have domain2.com which is addon domain, and I want to redirect domain2.com to domain.com?parameter=value, which is basically domain1.com, but with ...
0
votes
1answer
26 views

Redirecting a domain to another that hosts a wordpress site, getting database errors

Originally I had mydomain.com.au, but then I let it expire as I cancelled my abn. After that I started using mydomain.info instead to host my wordpress site. Recently I had my abn re-instated so I ...
2
votes
0answers
52 views

Apache mod_pagespeed ignores redirected pages

Using mod_pagespeed (https://developers.google.com/speed/pagespeed/module) with an Apache Server, I noticed that some pages were not being processed. The pages in question all had one similar ...
2
votes
0answers
469 views

Problem with missing JSON functions on PHP 5.2.6 / Plesk 8.4

I have a vserver running openSuse 10.3, Apache 2 and Plesk 8.4. I can update/upgrade neither, as it is apparently not recommended to upgrade openSuse 10.3 (and an update to the EOL 10.4 does not seem ...
1
vote
0answers
18 views

Using mod_rewrite to force users to use our caching proxy

During a recent audit we became aware of several users who have not set their DNS records to correctly point to our name servers. Since we don't control the domain names of our users directly, we're ...
1
vote
0answers
47 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
0answers
107 views

Index file not loading automatically for Alias in Virtual Host

I have the following virtual host setup: RailsBaseURI / <VirtualHost *:80> ServerName mydomain DocumentRoot /usr/share/redmine/public Alias /evaluation /home/user/evaluation/ ...
1
vote
0answers
296 views

How can I set a secure flag on cookies generated from a Python application?

I have an application written in Python running behind Apache and SSL. I am not seeing a secure flag on my cookie: apache Server version: Apache/2.2.15 (Unix) I have added a configuration line to my ...
1
vote
0answers
138 views

Apache, Rewrite Rule and Directories

I'm using the current virtual host: <VirtualHost *:80> ServerAdmin webmaster@mysite ServerName example.co.uk ServerAlias www.example.co.uk DocumentRoot ...
1
vote
0answers
395 views

404 error on a file/directory that exists?

We are using the vBulletin system. I have set it up so that it redirects 404 error's to a php page, so it follows the theme of the forum. However, if I go to a directory that exists (the admin ...
0
votes
0answers
23 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
0answers
14 views

CGI/FastCGI does not prevent me from reading other users files

I installed mod_fcgid.so for Apache to run every script under its user account. I looked at PHPinfo to see if it is loaded, and it is OK. Now when I try to read file content that belongs to another ...
0
votes
0answers
42 views

DNSMasq Not Resolving Addresses on Mac Local Web Development Environment

I've setup my local web development environment according to -http://mallinson.ca/osx-web-development/. I have done this before, and I got on a new computer, and am trying to do it again. I'm running ...
0
votes
0answers
167 views

joomla url rewrite issue when nginx reverse proxy apache2

Thousand Apologies for cross posting. I am really that desperate. I have posted the same topic at serverfault but feedbacks are a bit slow and I can understand that. Just that I am expected to put the ...
0
votes
0answers
649 views

PHP not working while selecting multiple columns from a table with MySQL

I am using Apache 2.2. When I am trying to run it my browser is failing to run it, it's showing: This webpage is not available The connection to localhost was interrupted. Error 101 ...
0
votes
0answers
67 views

Logging what was in the content of a page

I'm one of the people working on a Java based website that has the apache httpd in front of it. The content on the pages is migrating towards personalizing the content and as such just about every ...