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.
2
votes
1answer
24 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
112 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 ...
1
vote
2answers
105 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
41 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
49 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
82 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
48 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
324 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
0answers
230 views
XAMPP - Unable to serve files larger than ~30MB
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
56 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
244 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 ...
5
votes
1answer
185 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 ...
1
vote
1answer
64 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
44 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
56 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 ...
0
votes
0answers
53 views
How to improve overall site performance/security? [closed]
I use PHP and am avid in my development using that language. What means can I use that will improve the performance of my PHP site, and bolster its security?
-2
votes
1answer
61 views
How to connect domain to Apache Web server [closed]
i want to know how would i connect example.com to Apache web server and how i make it live on the internet.if there is any good reference about my question please tell me.
2
votes
2answers
112 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
2answers
266 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
103 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
102 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
36 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
45 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
453 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
133 views
How to setup up .htaccess rewrites for http and https on the same site?
Im 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. Im not sure how to go about doing this in the ...
2
votes
1answer
401 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
114 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
12k 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
70 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. (bandwith, how much was ...
0
votes
1answer
245 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
193 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
158 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
119 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
107 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
58 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 ...
1
vote
1answer
876 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
82 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
180 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
79 views
Apache, Rewrite Rule and Directories
my sites-available/ file looks something like the following:
<VirtualHost *:80>
ServerAdmin webmaster@mysite
ServerName mysite.co.uk
ServerAlias www.mysite.co.uk
DocumentRoot ...
2
votes
1answer
253 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: ...
3
votes
1answer
110 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
187 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.
1
vote
1answer
1k 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 ...
3
votes
3answers
365 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
154 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 ...
0
votes
0answers
187 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
90 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 ...
0
votes
1answer
107 views
Changing domain name - what are the practical steps involved [duplicate]
Possible Duplicate:
How do I rename a domain and preserve PageRank?
I launched a website a couple of years ago, bright eyed and bushy tailed, with dreams of conquering the world. ...
1
vote
1answer
189 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 ...
3
votes
2answers
177 views
How do sites avoid SEO issues and legalities with subdomain unique ids?
I was looking through a few websites recently and noticed a trend I'm not sure I understand. Sites are creating unique referral URLs for customers in the form of: http://customname.site.com
(If ...

