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

4
votes
0answers
19 views

Reverse proxy apache not working

I have my subdomain pointing to my server IP. I have enabled sudo a2enmod proxy sudo a2enmod proxy_http sudo a2enmod proxy_wstunnel Here is my virtualhost.conf file contents: ProxyRequests off ...
0
votes
0answers
15 views

Can't load the MediaWiki Skin after setting up Short URL

Problem I set up the Short URL function for my MediaWiki installation. After I done this my wiki can't load the MediaWiki design. How can I set my MediaWiki settings correctly to load my skins ...
1
vote
0answers
10 views

Rstudio Apache2 reverse proxy sends me back to index.php after sign-in

I'm trying to set up an Apache2 reverse proxy to access another machine at home. I've got the Apache 000-default.conf set up as follows: <VirtualHost *:80 *:443> ProxyPreserveHost On # Servers ...
1
vote
2answers
51 views

How to create Short URL in Mediawiki without getting an 403 Forbidden Error in Apache?

How to create Short URL in Mediawiki without getting an 403 Forbidden Error in Apache? My httpd.conf: #### Wikibase (BETA) <VirtualHost *> ServerName wikibase.isc ...
4
votes
2answers
46 views

Will using Google's PageSpeed module help to speed up a site with Magento?

I'm considering installing Google's PageSpeed module on a Debian Linux / Apache 2.4 web server to speed up a Magento CE website. Will using Google's PageSpeed module help to speed up a website using ...
4
votes
1answer
84 views

debian phpmyadmin - Call to undefined function __()

I recently upgraded my debian installation from wheezy to jessie. Now I get only blank pages when accessing phpmyadmin. The apache log says: Fatal error: Call to undefined function __() in ...
0
votes
1answer
18 views

Possible to make virtual servers on hosted web server? [closed]

I own a debian root web server at an ISP. By own I mean, I rent the server with a package, I do not own the hardware and such. No plesk or anything else. All configuration is done by hand (well, a ...
0
votes
0answers
5 views

Excluding a file from an IP block [duplicate]

I have recently converted a pre-2.4 configuration to Apache's new authorisation configuration but ran into a problem/misunderstanding concerning more than one RequireAll block. What I am basically ...
2
votes
0answers
71 views

RequireAll blocks overriding each other

I have recently converted a pre-2.4 configuration to Apache's new authorisation configuration but ran into a problem/misunderstanding concerning more than one RequireAll block. What I am basically ...
1
vote
0answers
11 views

set any subdomain for a given domain in apache in IOS

I am working in localhost, I've created a domain like this in /etc/hosts 127.0.0.1 *.example.com in /etc/apache2/extra/httpd-vhosts.conf <VirtualHost *:80> ServerName *.example.local ...
1
vote
1answer
25 views

How to run perl scripts on server? (apache2)

when i visit http://example.asd/asd.pl it just asks me if I want to download the script. I have perl module installed in my httpd.conf and I have LoadModule perl_module modules/mod_perl.so How ...
2
votes
2answers
57 views

How to change whole folder from http to https

The checkout/onepage is working with HTTPS. But, why checkout/cart is not? Here is fragment of the .htaccess: ############################################ ## enable rewrites Options +FollowSymLinks ...
1
vote
3answers
45 views

Regular expression for Apache redirection

In the .htaccess file I would like to redirect (301): From: http://www.example.com/photo<anything> To: http://www.example.com/blog/ Basically, any URL starting with /photo should be redirected ...
3
votes
3answers
87 views

Using PHP inside .html files not working as expected

Apache2, Linux, php5 I have added this line to my .htaccess file AddType application/x-httpd-php5 .htm .html running apace2ctl -m, shows this module loaded A php5_module (shared) I have a ...
4
votes
1answer
46 views

Are Commercial SSL Certificates (key file, and certificate file) portable when migrating between a new and old Apache2 server?

We have an SSL Certificate that's currently on our Apache2 server for transferring traffic over the https protocol. We are migrating away from this server to at another data center with a different ...
3
votes
1answer
32 views

How RAM is used on CGI query?

The user sends a file via HTML form <input type="file" ... /> CGI script, installed on the server, receives the file and, say, writes it down to the disk. As simple as only possible. As I ...
3
votes
2answers
35 views

How can I make Apache wait for images to be fully written to the storage drive before serving them?

I'm using fswebcam to take pictures from my webcam and write them to /var/www so that anybody can view them from my website. The problem is that my server is a Raspberry Pi with a slow SD card. It ...
1
vote
0answers
27 views

Is there a scripting or command-line interface to the Apache mod_info module?

I am running an Apache2 web-server. I would like to be able to access the kind of information made available by the mod_info and mod_status modules via the command-line, either through a scripting ...
0
votes
1answer
44 views

How do I setup redirect for multiple subdomains to different folders

So I have 2 sites on this particular server and this is all internal, but when a user goes to websvn for instance, I want them to go to websvn.domain.local and it is going there but it is also ...
3
votes
1answer
795 views

Phpmyadmin error 403 - No matching DirectoryIndex (index.html) found, and server-generated directory index forbidden by Options directive

I installed phpmyadmin over a year ago. I use MAC OS 10.10.4. I don't use Xampp. My installation Folder is /Library/Webserver/Documents/phpmyadmin. Now when I try to access phpmyadmin with that ...
2
votes
1answer
29 views

Speed of prefork+ruid2 with more connections on limited memory

Currently I am using Apache in a server with WHM/Cpanel and I'm currently using Prefork MPM with Mod Ruid2 to process PHP pages. While the setup allows it to run very fast, I'm limited to processing ...
2
votes
0answers
86 views

Document root owner and privileges, Apache web server

I am configuring a website for public use. The document root is currently /var/www/html and the owner/group is root/root. So, I'm guessing that it would be best or at least better to change the ...
2
votes
3answers
44 views

I can't personalise my error pages — Apache ErrorDocument directive results in additional not found error

I use apache 2.4.10, and I can't use personal error pages. I changed /etc/apache2/conf-available/localized-error-pages.conf and added : ErrorDocument 404 /404.html and created the file ...
1
vote
1answer
16 views

apache directory pages in default setup = duplicate content?

I'm trying to figure out if google or any other service would treat apache folder pages as duplicate content if in each access attempt a random number of slashes are used. For example, these four URLs ...
0
votes
0answers
169 views

Why is Apache 2.4.12 stop working randomly?

I have XAMPP installed on a Windows 2012 R2. We have a few Wordpress installations plus a custom LMS that is mainly java/tomcat. The site is SSL and uses openssl 1.01. The server can be up for a ...
1
vote
1answer
23 views

Custom message error with apache2

I am currently running a web server using Apache 2.4.10. I would like to know how I can make custom error page, using the proper way. Please, note that several solutions are available online, but ...
1
vote
2answers
105 views

Apache .htaccess - All URLs with different parameters to ONE redirect

I need some help with .htaccess redirect. http://www.example.de/test-music.html?p1=1&p2[test]=23 http://www.example.de/test-music.html?p1=6&p2[test3]=5 ALL of them need to be redirected to ...
0
votes
0answers
19 views

Unable to add new host to Apache webserver

I already have two hosts pointing to my machine, and I am trying to add a third "webmail.user.domain.com, but I receive DNS failure lookup. I created a configuration file for "webmail" with the same ...
1
vote
0answers
26 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
1answer
301 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 / ...
2
votes
1answer
100 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
13 views

Apache Vhosts - subdomaining

I am a little new to the apache vhosts configuration and for educational purposes I wish to set up a domain and a subdomain. The domain is already set up under the name example.com. Now I want to ...
2
votes
1answer
54 views

Do you trust timestamps when they are out of order?

When Apache2 log file entries have timestamps that are out of order, do you trust the timestamp or the order? 10.1.10.250 - - [20/May/2015:00:43:53 -0600] "GET /foo/bar_1234.jpg HTTP/1.1" 200 738542 ...
0
votes
1answer
90 views

IP-based redirection using mod_rewrite

I'm running a small VPN server where each user has his own static IP. I set up an Apache server in order to host files for each of them and instead of using a new registration system, I wanted to take ...
0
votes
1answer
15 views

Sites-available inheritance

I'm setting up a subdomain for mobile content that will be hosted on the same server but in a separate root directory (/www/main and /www/mobile). I'm trying to configure the sites-available .conf ...
0
votes
1answer
73 views

FTP connection timeout forces reconnect before every action

I'm uploading and modifying files on my Apache 2 server via FileZilla and after I perform any action, the connection times out after five seconds, so it keeps having to reconnect every time I perform ...
0
votes
0answers
52 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
2answers
167 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
0answers
11 views

Httpd not rewriting !hostname to hostname [duplicate]

Simple: xxx.xxx.xxx.xxx:443/80 --> https://login.example.com One site, one hostname, one server. So I've done this in the main httpd.conf to avoid virtualhost manips: <Location /> ...
0
votes
0answers
18 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
1answer
46 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 ...
4
votes
3answers
426 views

PHP 5.6.6 loading but not interpreting in Apache2.4 64 bit Windows

I have installed Apache 2.4.12 (Win64) VC11 from Apache Lounge. Typing httpd -M tells me that php5_module is loaded and shared. I have PHP 5.6.6 win32 VC11 Thread Safe installed. The Apache server ...
0
votes
1answer
230 views

Configure Apache virtual hosts - all subdomains to 404

It's the first time that I try to configure apache so I hope you can help me. This is what I want to achieve: All undefined subdomains should lead to not found if they aren't defined Root folder ...
2
votes
1answer
99 views

Redirecting “ugly” urls to pretty ones?

For example to display /id/123 for /urlugly?id=123 I can do RewriteRule ^id/([^/]*)$ /urlugly?id=$1 [L] and apparently for redirect I can add [R] RewriteRule ^id/([^/]*)$ /urlugly?id=$1 [R,L] ...
0
votes
0answers
65 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
313 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 ...
1
vote
0answers
133 views

Apache2 + Rails + Froxlor + Multiple Hosts, Apps [closed]

I can't find a solution for the following thing: Ubuntu Server inside Virtual Machine and Debian on my development computer. Apache2 as webserver Froxlor as web interface (domains, folders ...) I ...
1
vote
2answers
155 views

APACHE2: avoid https:// REDIRECT to open phpmyadmin

I have a site https://example.comto ensure that all users go to the https:// I set up a redirect with APACHE (on the default.conf) as followed: <VirtualHost *:80> ServerName example.com ...
1
vote
1answer
295 views

php5-fpm ping and status pages error out? LimitInternalRecursion error?

Not sure if I'm out of bounds here, but I originally posted this on ask Ubuntu here I have php5-fpm running just fine. My entire site is running as expected, almost no issues. However, I am unable to ...
2
votes
1answer
134 views

WAMPServer 404s a directory URL unless it ends with a trailing slash

How can I set Apache so that it doesn't require the trailing slash on the end of the directory? e.g. http://localhost/test will result in 404, whereas http://localhost/test/ will display the ...