Tagged Questions

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
2answers
562 views

Login Prompts in mod_auth_sspi showing up for aliased sites only

I've been trying to figure this out off and on for a few days now, and I think I just have a fundamental lack of understanding :) I have Apache2 running in a windows environment serving up our ...
3
votes
2answers
105 views

Turning off Webalizer and/or AW Stats

On our dedicated server, we have AW Stats and Webalizer both running. I see I can turn them off in WHM. We use Google Analytics, but also AW Stats sometimes. We never use Webzlier. My question is: ...
0
votes
0answers
311 views

htaccess doesnt work in subfolder

I'm using xampp with apache on my windows machine. My directory structure is: C:/xampp/htdocs ---------------/Sync --------------------/ProtectedFolderA ...
3
votes
1answer
3k views

How can I force a VirtualHost in Apache to not listen for undefined subdomains on 443?

In /etc/apache2/sites-available/example.com: <VirtualHost *:443> ServerName www.example.com DocumentRoot /var/www/example.com/htdocs SSLEngine on ...
2
votes
1answer
185 views

Show Cloudflare requests in apache log

I have a number of sites using cloudflare as a CDN with the apache mod_cloudflare installed to restore original visitor IPs to my server logs. Does anyone know of a way I can make the logs identify ...
4
votes
2answers
156 views

I want to use gzip compression in Apache

I want to enable gzip compression for acethehimalaya.com. Can anybody please tell me what is the best way of achieving compression in an Apache Webserver?
2
votes
1answer
57 views

Handling APACHE file caching

I have used .htaccess to cache images, css and javascript files on my server for up to a month. My problem is that some users get updates that I made recently and all works normally while some user ...
0
votes
1answer
119 views

Spiders crawling broken links

Tl:Dr Unknown bot crawling the same broken (HTTP 400) URL over and over again. Different User Agent and different country of origin. The Problem It seems at least once a week we're getting a big ...
1
vote
2answers
485 views

Change name of audio file for download

I have some mp3 files which are named "my-audio.mp3" but now the client wants the visitor to be able to download and save these files to their desktop. He doesn't like the name with the hyphen and ...
4
votes
1answer
653 views

Apache Virtual Host different depending on client ip?

What I'm trying to accomplish is: 1. A person, with IP 192.168.1.5 loads my webserver (192.168.1.2) and reaches htdocs/ 2. Another person, with ip 192.168.1.6 does the same request, and reaches ...
3
votes
2answers
48 views

making www.foo.com go to srv5.bar.net/~foo

What I need accomplished is when a person out there in internet-land types in www.foo.com they are actually getting served content from srv5.bar.net/~foo I have root access to both the nameserver ( ...
1
vote
1answer
73 views

How do I set up an `A record`?

I have Apache installed on an EC2 instance (with an Elastic IP). I successfully used NameCheap's DNS tool to configure routing of www.mydomain.com and mydomain.com traffic. If I have a web ...
1
vote
2answers
1k views

Have UserDir enabled but also want to rewrite url if called differently

I am setting up a new server for our users to use have have personal webspace on. I have in my httpd.conf of apache the directives for UserDir as follows UserDir disabled root UserDir public_html ...
1
vote
0answers
98 views

Apache Rewrite to folder no longer working after server upgrade [closed]

The following were both working perfectly for the last 2 years but after a server upgrade the first, with an extra folder is no longer working: RewriteCond %{HTTP_HOST} ^www\.mayoaccommodation\.com$ ...
2
votes
0answers
100 views

How many connection can my website have? [closed]

As the traffic increased my website hangs quite regularly. The page visit is now averaging 50k per day. The static page loads fine, but when the page has mysql request it takes too much time to ...
2
votes
2answers
1k views

Is it possible to count the number of hits or loads of a webpage without anything fancy?

I know very little, but I do know that I have some server space given by my University with a file called public_html which anyone can load html and other files from. So is there a simple way to add ...
1
vote
0answers
38 views

Which webserver to use for multiple sites? [closed]

Which webserver should I use if I'm going to host about 30 sites and all are using Wordpress. Each site receives about 1k+ visitors daily. Which webserver should I use apache or nginx? I only have 1GB ...
3
votes
1answer
202 views

Is there a way to know if apache receives a request from a public IP not local to your country?

I'm looking for ways to know if an apache server receives a request , from another country (e.g germany) considering its a fair request (no spam , or proxies). I want it either to appear this as a ...
2
votes
1answer
56 views

How should I set the default virtualhost?

I want to run 2 websites. One for www.example.com, and the other for everything else (www.example2.com, www.example3.com) How I do it? I tried: <virtualhost *:80> ServerName www.example.com ...
3
votes
1answer
219 views

Reading apache logs is there a way i can know of concurnent users limit?

I want to know on a analysis layer from apache logs which can tell me if the # of concurrent logins (using same username) has exceeded e.g more then 4. Is such a thing can be automated or it requires ...
4
votes
3answers
9k views

How to Change the www root directory on WampServer

How can i change the root directory of the currently installed wampserver to some other directory.
0
votes
1answer
357 views

Can apache logs tell between encryped and un-encrypted traffic?

Is there a way by just looking at the apache logs you can tell if the user-credentials is encrypted or not? Meaning some kind of encryption e.g ssl or plain-text. Thanks.
0
votes
1answer
333 views

How to know in apache logs if the application has crashed?

I need some help in finding some log pattern in apache logs related to application cash? Is there a specific key word attached related to this event e.g 'crash'. Thanks.
2
votes
1answer
1k views

How to log username in Apache logs?

I need some help regarding how to log the user-name into apache logs. I'm building a use-case for Security Information Event Management. Is the method the same in case of IIS or just applicable to ...
1
vote
1answer
220 views

Apache Server - Wrong Certificate

At work we are moving a website from "outside" to "inside". Standard LAMP website (Apache, MySQL, PHP). The issue I'm having is that it's serving up the wrong certificate. https:/intranet - on my ...
0
votes
1answer
1k views

Trying to host server for external access - Apache, VirtualBox & Portforwarding

Banging my head on the wall at this stage... Trying to host my Apache site on Ubuntu 12.10 with VirtualBox. Running Windows 8 host. Things I've done: Ensured Apache is listening on ports 80, 443 ...
4
votes
1answer
847 views

XAMPP - Unable to serve files larger than ~30MB [closed]

I'm developing a site locally with XAMPP on Windows 7, and as far as media is concerned, I'm unable to play media files that are larger than 30MB or so. Both video and audio files (MP4 and MP3 ...
2
votes
1answer
86 views

Setting up multiple domains on one Cpanel account

I set up an account on Cpanel for a domain "abc.com". However, if I wanted to point the A record for "def.com" to abc's existing account, what changes would I have to make server side? I'm aware that ...
2
votes
0answers
524 views

RewriteBase has to change when using UserDir

I have setup our Apache server to use UserDir This mean our urls are: http://dev.server.com/~username/drupal/html/ Before our URLS were: http://dev.server.com/drupal/html/ In the 2nd case I ...
6
votes
1answer
468 views

Best practices for streaming videos to a large concurrent user base?

What are the best ways to stream videos for a user base of more than 1000 users? What among the below would be the best way to use? An html tag to embed the video in the source element. To use a ...
3
votes
3answers
307 views

Apache log naming conventions

I run 30+ sites out of my dedicated server (running CentOS). Some of these are subdomains. I currently use this pattern as a log file naming convention, in /etc/httpd/logs: site_com-error_log ...
0
votes
2answers
65 views

mod_rewrite issue, won't work when links contain “-”

I've been looking into mod_rewrite for my simple PHP CMS for a couple of days now and I found a rule that was supposed to work for me: RewriteRule ^(\w+)/?$ view_post.php?url=$1 This is supposed to ...
1
vote
3answers
105 views

Server responding to request differnetly

I believe as above hosted locally , the long green delay is actually the home page of the website. May i know what causes those delay? Magento is a very CPU intense monster, is it due to the fact ...
2
votes
3answers
348 views

Clean URLs issue using .htaccess in PHP project

I am working on a PHP laravel project. I am currently facing issues with .htaccess file. I have following .htaccess: <IfModule mod_rewrite.c> Options -MultiViews RewriteEngine On RewriteBase / ...
1
vote
3answers
3k views

“File does not exist” in Apache error log when mod_rewrite is using

I am getting below error in server log, when re-writing the URLs. [Fri Jan 25 11:32:57 2013] [error] [client ***IP***] File does not exist: ...
2
votes
1answer
204 views

mod rewrite doesn't work when i added multiple domains

i have redhat linux server and i was using /var/www/html to display my site. By using the following directive rewrite mod was working fine. <IfModule mod_rewrite.c> # Enable mod_rewrite ...
2
votes
0answers
374 views

Why is AliasMatch not working?

Here is what we have: Alias /assets/ "/home/virtual/public_assets/" AliasMatch ^/~([a-zA-Z0-9]+)/assets/(.*)$ /home/virtual/public_assets/$2 <Directory "/home/virtual/public_assets"> ...
1
vote
1answer
67 views

How can I bypass modules in apache?

I have an apache server running on an embedded device that serves webpages to clients using a bunch of custom modules. I'm now trying to load some webpages from the device using ...
2
votes
0answers
113 views

Replacement for DirectoryIndexRedirect for older versions of Apache

DirectoryIndexRedirect is available in version 2.3.14 and later. (mod_dir) Is there an alternative method for older versions? I have different DirectoryIndex directive sets for a lot of directories ...
2
votes
2answers
2k views

Apache HTTP Server Configuration on Port Other Than :80

I am running an apache server for development on windows 7 (via XAMPP). By default, it is set up to listen on port :80 for http:// requests. I can configure it for, say, port :1234, and can access ...
1
vote
2answers
189 views

How to setup up .htaccess rewrites for http and https on the same site?

I'm having some issues with htaccess rewrites i need to redirect different parts of my site to HTTPS rather than HTTP, for example login and news sections. I'm not sure how to go about doing this in ...
2
votes
1answer
4k views

301 Redirect from www to non-www without using VHOST

I have my web application running on EC2 with Apache. I want to redirect www to non-www. On searching Google, I used this but it leads to redirect loop: <VirtualHost *:80> ServerName ...
2
votes
1answer
464 views

How do I use htaccess to make a short URL to a MediaWiki page?

I'd like to rewrite /liam to /index.php/Liam_Edwards-Playne. I've currently written this below in the appropriate .htaccess file but it is still returning a 404: RewriteEngine On RewriteRule ^/liam$ ...
1
vote
1answer
30k views

XAMPP error “Apache shutdown unexpectedly.” [closed]

Been having a problem with XAMPP lately. Whenever I try to start up Apache, it starts then stops and displays the following error message: Error: Apache shutdown unexpectedly. This may be due to a ...
2
votes
1answer
128 views

How to find data usage of a user on my website?

I have a website (project) where users get logged in, do their work and then they log out. I need to build a report that displays how much each person has used of data. (bandwidth, how much was ...
0
votes
1answer
1k views

Apache Reverse Proxy

I would like to host 2 Joomla! websites on separate machines using XAMPP with Apache. I need to make sure it is configured the correct way but I am not sure if I understand how it is to be written in ...
3
votes
1answer
718 views

Apache utf-8 characters in filename

I can't figure it why I can't open files (photos as a start) that contain utf-8 characters in their file name. For example, I have the following photo: José-Antonio.jpg , the browser outputs it as ...
3
votes
1answer
537 views

Apache Virtual Host does not work

I've problems setting up a virtual host on windows7, so that I can develop multiple pages on my localhost. To set up the virtual Host, I've edited 3 Files: httpd-vhosts.conf in apache\conf\extra ...
2
votes
1answer
234 views

Internal CDN and setting up subdomain to increase maximum parallel connections

I've heard that browsers can have around maximum of 6 parallel connections per domain at a time. So I decided to have another subdomain "cdn." then use mod_rewrite to point to media folder then ...
2
votes
1answer
159 views

how to fix .htaccess - redirect http://408.111.1111.domain.us/ to http://domain.us/index.php?w=408.111.1111

We want to use mod_rewrite and .htaccess to do a redirect. How do we redirect http://408.111.1111.domain.us/ and www.408.111.1111.domain.us/ to http://domain.us/index.php?w=408.111.1111 ? If the ...