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
25 views
Dedicated Servers: Is one better then two for LAMP pseudo HA setup? [duplicate]
Possible Duplicate:
How to find web hosting that meets my requirements?
I know there are zillions of commentary about hosting out there, but I haven't read much about this. Our current ...
2
votes
2answers
740 views
How to proxy with apache site from same domain but another port as a subfolder?
So I have a problem - I have my main site on apache web server on debian on port 80; I develop a web server (in some C++ or C#) and it currently runs on port 6666. But some people are living under ...
4
votes
1answer
810 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 ...
6
votes
2answers
836 views
Apache: How can I force the browser to reload CSS files?
How to force the user's web browser to reload CSS files with Apache Server?
I updated my website's CSS file but some users are still seeing problems that would be resolved if their browsers fetched ...
1
vote
1answer
290 views
Congifuring Red5 Server to run on localhost
I just installed the red5 rtmp server on my machine and tried to run the demo. The only thing that i see is "connecting to server" but it never gets connected. I have gone through most of the ...
1
vote
3answers
601 views
How to avoid basic authentication warning when using protected directory?
I used cpanel on my hosted site to set up a password protected directory to allow downloads of specific files.
I send people a link to the file by email and include their username and password so ...
2
votes
2answers
208 views
Apache HTTP redirect from a URL list
One of my web applications will be completely replaced by a new system. All URLs will change and thus external links would break. I want to setup Apache httpd to answer with proper 301-redirects to ...
0
votes
3answers
105 views
How to approach redirecting thirty domains?
I have a client with thirty some domain names. All bought for the reason of being close to a competitors domain. They want them all to redirect to their main portal. Right now I have them pointing to ...
5
votes
3answers
1k views
How to restart Apache without reseting users sessions?
User is logged-in a PHP website > I restart Apache > User needs to log-in again.
How to prevent this? (I don't want user to need to log-in again)
1
vote
1answer
519 views
When is the leading slash (/) needed in mod_rewrite patterns?
Here is an example from the Apache documentation for enforcing canonical hostnames:
RewriteCond %{HTTP_HOST} !^www\.example\.com [NC]
RewriteCond %{HTTP_HOST} !^$
RewriteRule ^/?(.*) ...
4
votes
1answer
155 views
Do Dynamic Subdomains Harm SEO or not?
I am establishing a new website for just resumes, and I structured my htaccess as to provide dynamic subdomains as:
marketing.resumedomain.org/index.html
sales.resumedomain.org/index.html
...
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 ...
0
votes
0answers
357 views
“Allow from all” and “Options –Indexes” is Illegal option? [closed]
I have this .htaccess configuration
allow from all
Options –Indexes
and I want is the my web clients can access my resources in that folder but they can't do a directory listing...
did i went to ...
2
votes
2answers
350 views
Notification for too many Apache connection errors on shared hosting?
My hosting provider specifies how many simultaneous connections the hosting account can handle. The question is how do I know if my site reached this limit and drops connnections?
I have a PHP site ...
0
votes
1answer
275 views
Apache authentication, security exceptions and safari
I have apache authentication set up on a site, it works fine in firefox and chrome, you type in the username/pass once and then you can happily visit any page on the site. Unfortunately this is not ...
0
votes
3answers
274 views
“Index of …” directory's files listing
On my courses we've got homework on site in folders such as:
http://example.com/files/tasks1-edc34rtgfds
http://example.com/files/tasks2-0bg454fgerg
http://example.com/files/tasks3-h1dlkjiojo8
...
...
1
vote
2answers
218 views
How to split apache logfile per Month
I have a quite large apache logfile (2,5 G).
Its that big because i havent used logrotate until now.
Now the logs get rotated corretly but i want the rotation (one logfile per month) for the time ...
2
votes
1answer
337 views
Apache show file index as utf-8
I'm on a shared hosting which runs Apache on a Windows server. I am running Linux and I have uploaded some files that should be accessible directly via a public URL (that is known only by a few ...
2
votes
2answers
2k views
How to manage multiple domains on same server
I have more than one (4 to be exact) domains and only one server host with same ip. How I can run all my domains from same server. All websites are wordpress sites.
2
votes
1answer
106 views
Is it possible to check the case on Apache redirects or aliases?
I have a big website (15,000 pages) with a log list of redirects (about 800) that have been used in marketing pieces for years. My Apache server has been running mod_rewrite for the past 10 years or ...
1
vote
1answer
66 views
Apache2 “pseudo” doc root
I have several folders in my /www folder that contain various applications. To keep things organized, I keep them in their own folders -- this includes my base application.
Examples:
phpmyadmin = ...
2
votes
1answer
533 views
sub folder non-www redirect
Is there a way to redirect a sub folder to non-www?
What i use is:
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
BUT this only ...
2
votes
2answers
289 views
Apache Rewrites not working due to Akamai
I have a website which is setup with akamai. My domain and subdomains are mapped onto an Akamai IP.
I have written an Apache rewrite which does an internal URL X to another internal URL Y. This ...
1
vote
1answer
948 views
Apache rewrite to 404 except for matched query
I'm trying to handle logically simple operation, but apache rewrite does not handle my website's query strings requests. I heard it's does not do it eventually. Still cannot understand it's regex ...
1
vote
3answers
232 views
Why isn't my PHP file running?
I recently installed Apache and later installed PHP too.
When I browse to http://localhost/index.html it displays the default Apache page "it works".
But when i try to run ...
0
votes
1answer
81 views
Name of virtualhost (apache)
I need to create virtualhost with name "virtualhost_name". To access it with http://virtualhost_name
I have a pattern:
<VirtualHost *:80>
ServerAdmin jan@novak.cz
DocumentRoot "path"
...
0
votes
1answer
117 views
Subdomains regarding name servers/domains
I know how to configure subdomains like sub.example.com on Apache etc. My question is, do I need to make any changes to the name servers/domain that is provided to me?
Would it work the same as ...
2
votes
0answers
83 views
Apache, Lighttpd, which one should I use? [closed]
Apache has always been described to me as the solution for hosting websites, but I have been using Lighttpd for many years now and seems pretty stable. What are the advantages of Apache towards ...
1
vote
1answer
307 views
.htaccess is not working in vps hosting
what is solution to create a .htaccess file in vps.
I have tried most of the .htaccess file.but it doesnt work in vps.
What is the solution?
here is the code of htaccess file.
RewriteEngine on
...
6
votes
2answers
1k views
Why does my site only work with a www in the URL?
I'm a bit confused as the following points:
There is a simple text website, with no javascript, that works only with the prefix. http://www.mysite.corporation.com works but ...
0
votes
1answer
191 views
htaccess - “detect” url and redirect
Idea is:
if URL = "http:/localhost/site/"
else if URL = "http:/localhost/site"
redirect to
"http:/localhost/site/index.html"
Can this be done with .htaccess / Apache mod_rewrite and how?
3
votes
2answers
414 views
Good Book for Managing a Linux Web Server?
I'm being thrust into the role of managing my own web server. I will have access to some managed support, but I need a comprehensive resource I can turn to that covers: command line basics, apache and ...
7
votes
5answers
218 views
Tracking down memory issues affecting a website
I've got a website (Wordpress based) that became unresponsive. I SSH'd into the server and saw that we were out of memory. Errors in my apache log files indicated the same... things failing to be ...
0
votes
2answers
355 views
domain.com to www.domain.com .htaccess redirect working except one subdir
I've setup a redirect in .htaccess to consolidate domain.com to www.domain.com traffic on our Apache server.
Looks like this:
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ...
0
votes
3answers
228 views
Stopping Apache from serving requests for content from other sites
When looking at my Apache2 access logs, I occasionally see GET requests asking my server for a page on a completely different server. For example:
xx.xx.xx.xx - - [18/Jan/2012:07:12:10 -0500] "GET ...
0
votes
1answer
3k views
Get the number of concurrent users in apache?
We want to know how many concurrent users the apache is serving at one time? Can I do it by installing some statistics tools? I tried webalizer but it only shows hourly hits, not the number of users. ...
0
votes
1answer
126 views
Most common Apache and PHP configuration for portable Web Applications
I always create web application using PHP but I always distribute and deploy my works to different kinds of server platforms and web server configurations. Thus I always encounter problems in ...
1
vote
1answer
448 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 ...
0
votes
2answers
926 views
.htaccess rule not working without HTTP redirect [R]
I am using the following .htaccess with Wordpress to remove index.php from the visible URL. This works but forces an http redirect so the URL changes in the browser window. If I remove the [R] it no ...
0
votes
1answer
188 views
Windows - Apache HTTP server - access to other directories on local FS
I have a Windows 7 laptop with an installation of the Apache HTTP server (just for development purposes, not accessible from outside).
My problem is that I have my web applications located in two ...
6
votes
3answers
2k views
What are the pros and cons of running PHP as an Apache module or a FastCGI?
My VPS is giving me the option between running PHP as an Apache Module or a FastCGI.
How should one make this decision? Performance? Security? Ease of use? Compatibility?
I'm using PLESK.
2
votes
2answers
364 views
Image Hot-links & Google's Instant Previews
I'm trying to adjust my site:
1. stop Image Hot-links
2. block Googlebot-Image (because I do not want my images to be searchable)
3. allow Google's Instant Previews
I've tried this but the Instant ...
2
votes
2answers
501 views
Nginx frontend, Apache backend, and Magento
I've got a Magento installation, which works perfectly from a customer's point of view. However, when you try and do batch tasks with the admin, nginx often closes the connection to the browser early, ...
1
vote
2answers
79 views
reduplicate request in apache logs
1. Symptom:
I found lots of requests for the same resource on Apache logs, like this:
/image/default/dHtmTreeImg/iconUnCheckAll.gif HTTP/1.1" 200 120
10.83.140.23 - - [29/Dec/2011:08:50:10 +0800] ...
0
votes
4answers
168 views
DNS configuration on website makes it available only some of the time
The DNS configuration on my website is periodically dropping visitors and I have no idea why.
Most of my website's visitors are seeing it fine, but in the last weeks more and more visitors report ...
2
votes
1answer
289 views
Configuring directory access on a server. .htaccess and alternatives?
I have written a small PHP package/site-template (should I say).
It contains a directory data/ that contains some important files that the users should not be able to see.
These file should however ...
1
vote
1answer
82 views
Recommended way on implementing 301 redirects
I am rebranding a website, which involves changing the domain name. I want to know the best way of redirecting traffic to the new domain, using 301. Ideally, I will do this at the webserver (Apache) ...
5
votes
3answers
9k views
How to remove trailing slashes from URL with .htaccess?
The situation
Across the entire domain, we'd like the URLs to hide file extensions and remove trailing slashes, independent of the domain name itself (as in, works on any domain).
Sample of our ...
5
votes
2answers
1k views
.htaccess directory to subdomain
I have been trying to make a subdomin from a directory (made by .htaccess) to be used as the main page starting like http://domain.com/sub/2/3/4.html and turning into http://sub.domain.com/2/3/4.html.
...
4
votes
5answers
449 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 ...