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.
0
votes
1answer
498 views
What response headers encourage 304-Not Modified upon reloads?
When looking at the network waterfall in Firebug/Chrome/IE9, I keep seeing "200-OK" instead of "304-Not Modified" for many cache-able files (images, js, css) on this page, for example.
I believe it ...
2
votes
1answer
275 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 ...
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 ^(.*)$ ...
1
vote
1answer
62 views
Apache - .httaccess RewriteRule from domainA to domainB
Problem:
I have a website (mywebsite.com) that was, and partly is, indexed in google. Somebody pointed their own domain (theirsite.com) name to my server and DNS, so it resolves with my IP. Now, ...
1
vote
1answer
146 views
Should I use mod_wsgi embedded mode if I have full control of Apache?
I'm managing a bunch of sites and applications in a shared hosting, using Django via mod_wsgi. I had planned to use daemon mode from the beginning (to avoid restart problems), but ended up purchasing ...
2
votes
1answer
63 views
Prevent virtual host on same server interact on apache
I have a VPS running Apache 2.0, with multiple domains and multiple IPs set.
In document root :/var/www/html/ --> i have http:// serverA.com
and I created a virtual host on folder ...
1
vote
1answer
46 views
Prevent virtual host on same server interact on apache [duplicate]
Possible Duplicate:
Prevent virtual host on same server interact on apache
I have a vps apache 2.0 webserver, with multiple domains and multiple IPs set.
In document root /var/www/html/ I ...
0
votes
0answers
174 views
SoftException in Application.cpp:574 errors
I am seeing a lot of "SoftException in Application.cpp:574" errors in my log file.
Is this due to high server activity? I am on a shared server.
0
votes
2answers
1k views
Amazon EC2: How do I create a subdomain on an instance?
I have apache2 and tomcat installed on Amazon ec2 instance running Ubuntu.
tomcat is serving the application and I want to create subdomains for example.com and abc.example.com to serve to different ...
1
vote
2answers
259 views
WordPress mod_rewrite redirect specific folders
As a new user, I'm not allowed to post more than two hyperlinks here. So I have added a space after every http (ignore them and read as full URLs).
System: Debian Etch, Apache 2.2
I have a WordPress ...
2
votes
2answers
167 views
How can I test for a URLs existeance before redirecting to it?
I am using Apache's mod_rewrite to redirect mobile users to my mobile site based on their http_user_agent. However not all pages have a mobile equivalent. Also mobile pages end in .html and "full" ...
3
votes
1answer
67 views
Transferring local site to shared hosting
I'm looking to setup a simple online text processing tool similar to the Clang demo. The processing program itself is a C++ program which I can modify to provide the desired output I need. Since I use ...
2
votes
2answers
630 views
apache rewriting url doesn't work(using godaddy hosting)
I'm using a framework to create my website(codeigniter) by default the urls are like this:mysite.com/index.php?/etc/etc/etc.
And I'm trying to remove the index.php?, I tried to remove it by doing ...
1
vote
1answer
286 views
URL Rewrite for SSL
I have SSL configured for a cart directory in my website. I'm having a very difficult time trying to configure SSL for a different directory within the same website. I ask the question on SO, and was ...
1
vote
1answer
209 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. ...
0
votes
1answer
423 views
How to use different php.ini files for different VirtualHosts?
I have my site and it's staging subdomain running on the same CentOS machine running apache. The subdomain is created using a VirtualHost, and I use it to find any bugs before I push to production. I ...
0
votes
2answers
858 views
Apache2: How to host apps at different ports with SSL?
I'm trying to achieve quite simple task actually.
I bind application to a port, I enable SSLEngine at each VirtualHost entry for that port. Everything works beside one thing: if you type url that ...
2
votes
1answer
255 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 ...
4
votes
1answer
140 views
Best way to protect public facing development environments?
We're in the process of setting up individualized dev environments for our developers. All of our developers are remote and we don't have a VPN or anything to bring this in house.
But here's the ...
1
vote
1answer
319 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
2answers
949 views
Apache Vs. lighthttpd? [closed]
I've recently bought a VDS server with 768MB RAM. All of my RAM is being eaten by Apache(286MB). As lighthttpd is lighter and needs less memory I want to switch to that. I just want to make sure I ...
1
vote
1answer
202 views
A WSGI-configured Apache does not serve images from /static or /media (Django), returns 403
I have set up an Apache server with WSGI/Django on it, and everything works fine -- html, css -- but when I try to request an image file, like png, it returns 403 Forbidden. The configuration is as ...
4
votes
2answers
704 views
running multiple name-based web applications on a single ip address with SSL
I'm working on web projects.
My scenario is I have two web applications running on one single web server (Apache).
Due to my company policy, they ask me to put both of them on SSL (Port #443), no ...
2
votes
3answers
717 views
Under an Xampp install, I modify the apache httpd-vhosts.conf file and then my Apache server will not start
I have read all the articles but still must be doing something wrong... I modified the httpd-vhosts.conf file to access the project I am working on... I have tried many different configurations and ...
2
votes
3answers
154 views
Redirect to same site but add things into the URL
I have a PHP file, index.php, that is set as the index file for my site. If someone wants to pull up a value for a, as an example, then they would type http://www.website.com/?value=a. Is it possible ...
2
votes
1answer
216 views
Replace 404 with 301 to other subdomain
We have two main subdomains on our site: www.example.edu and php.example.edu. Virtually all of our content is on www.example.edu, but there are a few standalone apps hosted on php.example.edu. ...
1
vote
3answers
590 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 ...
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 ...
1
vote
1answer
1k views
.htaccess: allow from - using dynamic IP - defining the static portion of my IP?
I'm looking to secure my phpMyAdmin dir from being accessed from other IPs than my own, albeit dynamic IP, let's say it is 191.164.1.xxx (xxx = being dynamic numbers).
Referring to the Apache ...
2
votes
1answer
2k views
Redirect HTTPS request to HTTP in Apache
Can an HTTPS request be redirected to an HTTP request in Apache? If so, how?
3
votes
2answers
4k views
Redirect Permanent and https
I just set up HTTPS on my server, and I have an issue with redirect permanent.
Example http://domain.com/index.html it redirect me to http://www.domain.comindex.html
The / (tail ending slash) is ...
2
votes
1answer
380 views
Apache Server-Side Includes Refuse to Work (Tried everything in the docs but still no joy) [closed]
Trying to get apache server-side includes to work. Really simple - just want to include a footer on each page.
Apache 2.2:
# ./httpd -v
Server version: Apache/2.2.21 (Unix)
Server built: Dec 4 ...
2
votes
2answers
1k views
Multiple websites on a single IP address, HOW?
I have a VDS server and an dedicated IP address. the question is how to add multiple sites in a single domain?
For example I have 3 sites as below:
www.company.co
www.webdesign.com
www.inet.com
...
1
vote
0answers
74 views
Best practice for suEXEC on complex sites?
What is best practice for using suEXEC on complex sites?
We've got a site running under a single vhost, and we want to be able to run different PHP web apps eg /forum /wiki /crm as their own UIDs, to ...
1
vote
0answers
104 views
Can I use both Digest and Basic Authentication on the same directory in Apache?
The reason I would want to do this is to support very old browsers (e.g. IE 6) that does not implement the more secure Digest method. If all new clients advertise the types of authentication they ...
1
vote
1answer
932 views
Restrict direct folder access via .htaccess except via specific links
I want to restrict access to a folder on my server so that visitors may only access the contents (a web application) via links in the same domain. Can I do this using .htaccess? To be clear, I simply ...
0
votes
1answer
424 views
mod_rewrite problems - redirect subdomain to different domain
I must have a brain freeze as I can not get my rewrite rules working.
RewriteEngine On
RewriteCond %{HTTP_HOST} ^otherdomain\.example\.com [NC]
RewriteRule ^(.*) http://www.otherdomain.com/ ...
1
vote
1answer
636 views
xampp not working with DynDNS
My setup consists of:
a XAMPP 1.7.7 installation, with Apache configured to listen to port 8080
dyn.com to make the projects accessible from the web ( 8080 shows up as 'open' when checking with ...
3
votes
1answer
1k views
Use different document root for subfolder of URL
I have an php application that uses an MVC framework.
Lets say it lives here http://domain.com on the web and here /srv/www/domain.com on my server.
I want http://domain.com/blog to use a wordpress ...
2
votes
1answer
294 views
Htaccess - Rewrite png to php file
I currently use trans.png.php?id=1&campaign=test to track my newsletter campaigns.
I want to use trans.png instead as it's the src of an img tag.
How can i do this in htaccess? Also is there any ...
4
votes
1answer
2k views
How to write a generic .htaccess file rule, regarding RewriteBase
The following rule in my .htaccess works just fine for routing calls to index.php:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php [QSA,L]
However, this does not ...
1
vote
1answer
114 views
Links don't work on new server
I've recently moved from server with php4 to php5. Now I cant open content in my page. Links look like this "page.com/news-it-is-rainy-day-1.html". But when I try to open link I just get the archive ...
4
votes
3answers
105 views
How can I determine the trending pages on my site?
I'm looking to see what the "hot" pages are on one of my sites. I want to see for various timeframes, what the top-50 pages are. I'm only concerned with the current month's data.
I'm going to create ...
2
votes
1answer
64 views
Handling request after installing MAMP (no DNS setup yet)
I've just installed MAMP on my mac machine and checked the server is working by looking at localhost. I looked up my IP address by ifconfig. When I use another machine, I still can't get connected to ...
0
votes
2answers
98 views
URL need to ban at Apache server
I am need to ban this URL to visit my website, but don't know how should I do this?
http://www.skywalkerltd.com/index.php/user-account/pay-per-click/view/66
I'm a new user of Cpanel 11 / Apache / ...
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
1answer
177 views
How do I set up a “gateway” for a specific subdomain?
I'm looking at setting up a website that will run a few different apps. Most of them can be managed by an Apache server, but I've got one specific thing that will run on a custom HTTP server.
...
0
votes
1answer
368 views
SocialEngine Installation Error 500 (Step 3)
I'm trying to install SocialEngine (clean install, empty database, legal license key) but I ran into this error message 500 at Step 3 of the installation:
Step 3: Setting up MySQL Database
MySQLi ...
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
736 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 ...