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.
1
vote
0answers
28 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 ...
1
vote
2answers
104 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
39 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.
2
votes
1answer
81 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
1k views
mod_rewrite with Apache -> mod_jk -> tomcat
Related to some of my earlier questions.
I now have a setup I quite like;
Apache httpd listening on port 80 accepting http and https connections.
Several Tomcat instances running on several AJP ...
7
votes
1answer
535 views
Permissions for serving up temporary files
I have a system (web based application) which pulls file attachments from a 3rd party system via SOAP. These are in turn on our system created as files in a directory.
When a user of the system ...
1
vote
1answer
212 views
SSL on multiple directories
I have a website that is http, but has a port set up for https for a specific directory that is for the shopping cart. Now I'd like to use our SSL on a different directory in the same site as well. ...
1
vote
2answers
539 views
getting mod_rewrite to work on Mac OS X
I'm trying to get mod rewrite to work on my Mac. This is the content of the .htaccess file:
<Files *\.ini>
order allow,deny
deny from all
</Files>
RewriteEngine on
RewriteRule .* ...
4
votes
1answer
818 views
Why has Apache begun running a single process as root, and another as root and the wwwdata user?
I am running Apache Worker-MPM, PHP 5.3.2, and FCGID.
Apache runs better than before, but I noticed that there is an apache process running as root and a second process that runs as both root and ...
2
votes
1answer
589 views
Enable mod_rewrite on OpenSuSE 11.04
I have a problem on OpenSuSE 11.04. I configured apache and enabled mod_rewrite but it doesn't working. on every php file I get 403 forbidden error.
1
vote
1answer
172 views
www.foobar.com works but foobar.com results in a 'Server not found' error
I have just setup a minimal (hopefully secure? - comments welcome) apache website using the following configuration file:
<VirtualHost *:80>
ServerName foobar.com
ServerAlias ...
1
vote
3answers
591 views
Why does StatCounter show less unique visitors than my Apache access log?
StatCounter shows yesterday as seeing 10,611 unique visitors to my site.
I wrote a script that counted the number of unique IP addresses in yesterday's Apache access log. It counted 14,190 unique IP ...
4
votes
5answers
669 views
Site compromised .htaccess files everywhere
Some of the sites we're hosting are compromised by... I don't know what.
Every directory on the webserver contains a .htaccess file which redirects a user coming from a search engine to a page which ...
0
votes
1answer
824 views
How can I fix an Apache redirect loop
I have a strange Apache/WordPress redirect loop that I can't seem to figure out.
Here is the relevant logs and other info: http://pastebin.com/E1afW2vw
It seems that the page request gets made, and ...
1
vote
1answer
10k views
Apache: Virtual Host and .htacess for URL Rewriting not working
I have configured a virtual host in my local machine and every thing is working fine.
Now I want to use SEO friendly urls. To achieve this I have used the .htaccess file.
My virtual host ...
1
vote
2answers
4k views
wamp installed can't find localhost
I installed a WAMP package on a Windows 7 machine and everything ( Apache, php, mySql, phpMyAdmin) appear to have installed correctly.
However when I try to access localhost or phpMyAdmin via the ...
1
vote
1answer
320 views
Decode url in httpd.conf or htaccess
For some reason I am getting 404 errors in my log file because of users trying to access something like http ://www.domain.tld%3Fid%3D222 instead of http://www.domain.tld?id=222
I've unsuccessfully ...
0
votes
1answer
169 views
Apache log analytic's
Been trying for a while to get this script fully working I think I'm nearly there.
Ok so I basically need the script to show 3 things, email address - Browser type - Time logged in.
...
0
votes
1answer
100 views
Grep directory name
Need a script to grep within a directory for folders named by emails (so looking for the @) to then search the apache logs to see if the email address grep'ed has accessed the website today.
Then ...
2
votes
1answer
258 views
Tell apache to point to a subfolder as default starting point for public
What would be the different methods of telling Apache to serve up httpdocs/public instead of httpdocs as the default starting point?
I want to be able to have my includes and logs directories behind ...
1
vote
2answers
403 views
How to block malicious requests before they reach Apache?
I have a RESTful web service that gets hit by a large number of requests coming from various IPs with dummy logins and random inputs. I have already denied these requests at the HTTP level (using the ...
4
votes
5answers
450 views
Tool for clickstream anlyzing of Apache logs?
Are there any good tools to analyze the clickstream of individual users in Apache web server logs? For example, I'd like to be able to click on a visitors IP address and see all pages the user ...
0
votes
1answer
417 views
Apache on Windows - splitting vHost logs
I have a Windows Server 2008 running Apache, and it will be hosting several virtual hosts.
I'd rather not use the logrotate tool (|bin/logrotate), as it seems create significant extra overhead with ...
2
votes
1answer
309 views
Apache logging based on user agent
I'd like to update my apache logging so that its destination is based on the user agent string or file type.
Specifically, I would like to send my googlebot requests to their own log file, and I ...
0
votes
1answer
48 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.
1
vote
1answer
450 views
Include number and date in Apache log file names
I'm trying to figure out how to include the current date and the IP number of the current host inside the Apache log file names, but I fail how to see how I can do that. Part of that has to do with ...
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 ...
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
...
4
votes
0answers
227 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 ...
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 ...
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
55 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
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.
1
vote
2answers
132 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
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">
...
2
votes
2answers
448 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 ...
2
votes
0answers
44 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 ...
1
vote
2answers
128 views
How can I make a webmail URL available from any hosted domain?
I run Roundcube webmail on my VPS. At the moment, it is only accessible from one virtual server hosted on the server, unless a separate Roundcube installation is created for other virtual servers. I ...
1
vote
1answer
105 views
How can i point wildcard domains to a folder in apache
I am developing an app using PHP and deploying it on Apache on the Amazon AWS environment.
This app requires to be made available to customers from their own chosen domain name?
How can i acheive ...
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
276 views
Avoid the login popup when using http-auth
I have an Apache. Under the DOCUMENTROOT is a folder with an .htpasswd file for http-auth. If I open the browser and request the content in the folder I get an Popup to login.
Is there a way to avoid ...
2
votes
1answer
69 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 ...
2
votes
1answer
57 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
868 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 ...
1
vote
2answers
1k views
HTTPS To http redirect issue. How to overcome?
Have already seen suggests on how to rewrite https to http. currently using this technique :
RewriteCond %{SERVER_PORT} ^443$
RewriteRule ^(.*)$ http://www.mysite.com/$1 [L,R=301]
RewriteRule ^(.*)$ ...
4
votes
4answers
521 views
Is there an easier way to implement 301 redirects when converting a site to WordPress
I have just converted a website to WordPress. The old site has hundreds of hard-coded html files, and the new site does not match the old site's directory structure or file naming system (bad SEO in ...
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 ...




