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
97 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
99 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
904 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 ...
2
votes
1answer
194 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
210 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
7k 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
302 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
281 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
934 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
204 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
780 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
85 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
495 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
455 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 ...
2
votes
2answers
261 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
62 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
103 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
322 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
201 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
347 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
107 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
187 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
445 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
29k 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
124 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
669 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
513 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
221 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
158 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 ...
2
votes
1answer
82 views

CDN for site with target market in Australia

I was told that http://www.edgecast.com/ is very good CDN provider for Australian market. I have a cloud server based in Sydney Australia but was wondering whether it's even worth getting cdn as my ...
2
votes
1answer
2k views

Webmin - Setting up multiple virtual hosts - Subdomains

Can someone please help me in using WEBMIN to setup virtual hosts. My current domain www.MYDOMAINLOLFAKE.com currently functions. Settings are as follows - Apache - Handles the name-based server ...
4
votes
1answer
90 views

Serve 404 error, if typing not exact URL

At the moment, when I type: xyz.lo/abc.php/123 in my webbrowser, Apache serves the same page if I were typing xyz.lo/abc.php Unfortunatelly relative links present in HTML won't work with the ...
4
votes
2answers
731 views

How does the web server choose between unicode and utf-8 for accented characters?

I have a web server with my ISP which replaces accented characters in URLs with their unicode values: for instance é (eacute) is translated to %e9 (dec 233). For testing locally I use EasyPHP which ...
1
vote
0answers
131 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 ...
2
votes
1answer
2k views

How to avoid “chunked” Transfer-Encoding?

How to avoid chunked Transfer-Encoding ? Is there any benefit with this encoding? Below is what appears as part of Apache Web Server (V2.4) header message: Connection: Keep-Alive Content-Type: ...
5
votes
1answer
239 views

How to get rid of crawling errors due to the URL Encoded Slashes (%2F) problem in Apache

The Google web crawler has indexed a whole set of URLs with encoded slashes (%2F) for our site. I assume it has picked up the pages from our XML sitemap file. The problem is that the live pages will ...
2
votes
3answers
610 views

How to remove /index.html

How to make redirect /index.html -> / in Apache? Redirect /index.html http://domain-name.com/ Is causeing infinite loop when opening home page.
2
votes
1answer
7k views

Enable 'mod_rewrite' Using .htaccess File On cPanel Shared Hosting Server

I'm using cPanel to host my website. I need to enable 'mod_rewrite' on this Shared Hosting cPanel account to run my script. I've tried to Google the solutions high and low but did not find any luck ...
4
votes
3answers
2k views

using .htaccess to redirect .asp to .php?

Ahoy all! I've been racking my brain with this one. I basically just converted all of my pages from ASP code to PHP code. Kept the same filenames. So, here is the htaccess code I have so far, but ...
1
vote
1answer
235 views

Deny access to directory content on shared hosting service

My Website is hosted on a shared Apache server. How can I deny access to directory content pages so if someone goes to the address www.mywebsite.com/directory they don't see the following: Index of ...
2
votes
1answer
2k views

Tomcat serving static content with directory listings

I have Tomcat 7 configured to serve static contents from a directory: <Host appBase="webapps" name="localhost"> ... <Context docBase="/var/projectA/static" path="/projectA/" /> ...
1
vote
2answers
155 views

SVN Checkout folder as local webroot

I have XAMPP installed and running. I have an SVN working directory (WD) on my local that checks out from the repository. I set up a virtual host in xampp to point to my WD, but my browser (FF) gives ...