Tagged Questions

The Apache HTTP Server is an Open Source Web server. This tag should be used for questions specific to version 2 (2.x) of Apache HTTPD. For more general Apache HTTP Server related questions, you should use the Apache tag instead. Apache is very well documented and most functionality is described ...

learn more… | top users | synonyms (2)

1
vote
1answer
11 views

How to setup test environment behind VPN?

I have a Linode VPS that I use to host multiple sites. I run Ubuntu 10.04 and Apache 2. What I would like to do is have my live sites (example-site.com) and test sites (test.example-site.com) on the ...
1
vote
1answer
19 views

debian apache config

So I've got two general problems. for some reason the default site doesn't work, it just directs to the first virtual host that I have when trying to connect via ip address. I do not have local dns, ...
-6
votes
1answer
33 views

May you till me that DocumentRoot /sda1/htdocs is good with many thanks [closed]

please till me If DocumentRoot /sda1/htdocs and Directory /sda1/htdocs is good ? with many thanks DocumentRoot /sda1/htdocs <Directory /> Options FollowSymLinks AllowOverride None ...
2
votes
1answer
10 views

Apache As-Is Redirect is Internal… WHY?

So I have a pretty standard Apache 2 setup, with AllowOverride all. And I have three files in the "testing" folder under my docroot: .htaccess AddHandler send-as-is .asis page.html this is the ...
0
votes
0answers
15 views

OS X Apache giving 503 error for anything in /api directory

I have a locally hosted website that uses Smarty templates, I'm trying to get started on building an API for the site. I've used virtualhost.sh to create a local virtual host for this and other ...
0
votes
1answer
25 views

How to limit Apache response timeout?

I have an apache server, and there are lots of connection opened by a user, and it never ends. Already ran for 4886 seconds and keeps counting. There are 80 such requests. The page is simple, and ...
0
votes
1answer
31 views

I want to restrict access to apache folder via IP - is this possible?

I'm using this simple .htaccess file in a media uploads folder to allow the customer to see what's been uploaded. Options +Indexes IndexOptions +FancyIndexing Is it possible to add a directive to ...
0
votes
0answers
10 views

Embeded profiler for php [migrated]

I am not quite sure for what I am asking, so please excuse me if I am saying nonsense. I want to profile some php code, function by function so I need a profiler that can check block of code. I ...
0
votes
0answers
12 views

How to see what is causing failcnt on tcpsndbuf

I am seeing a failcnt on my tcpsndbuf by looking at the user beancounters. How am I able to see what is causing this failcnt? I am experiencing problems with my server and I think that it is as a ...
0
votes
1answer
29 views

Server Response Time and Domain Name Resolution

I have a server running windows 2003 and apache. I have couple of sites hosted on this box. Now this server is placed at my home and the ISP has allocated me a fixed IP. When i check for my ...
0
votes
0answers
13 views

Apache to Nginx rewrite rules migraiton: why only root page is served?

I am migrating from apache to nginx with site that serves everything through single index.php file. And all examples of rewriting I can find are about wordpress or some arbitrary routing. In my case ...
0
votes
1answer
29 views

I'm trying to set up 2 virtual host on a new VPS using apache 2.x on a Ubuntu server

Output from apache2 restart: * Restarting web server apache2 [Thu Feb 09 01:19:34 2012] [warn] NameVirtualHost xx.xx.xxx.xxx:80 has no VirtualHosts ...
0
votes
2answers
21 views

I'm trying to set up 2 virtual host on a new VPS using apache 2.x on a Ubuntu server

Output when trying "apache2 restart" * Restarting web server apache2 [Thu Feb 09 00:55:09 2012] [warn] NameVirtualHost 71.19.144.240:80 has no ...
1
vote
1answer
40 views

Apache2 mod_wsgi python 2.6 Django very slow

I've tried about 1000x things, but I can't seem to figure out why a simple django website is slow using apache 2.2.14/wsgi latest / django 1.3. I've confirmed the problem isn't our database by turning ...
1
vote
1answer
24 views

setting up workers.properties file for mod_jk

I'm trying to create a workers.properties file to get mod_jk communicating with Apache webserver 2.2.x. The GlassFish 3.1 Administration Document includes the following example for worker.properties: ...
0
votes
1answer
23 views

How to setup Ubuntu for WordPress and stay SECURE?

I am switching to one or RackSpace's cloud servers, and I got it up and running fine. The problem is that one of my websites use WordPress. For WordPress to be able to automatically update, or upload ...
0
votes
1answer
55 views

Apache2 (debian) virtualhost not working properly

I'm trying to add another virtualhost to an existing list of hosts (/etc/apache2/sites-availible/default). Here is a partial copy of the current setting: <VirtualHost *> (<-- currently ...
2
votes
0answers
28 views

Copy/Mirror traffic to different port - iptables

I have nginx running on port 80 and apache running on port 8080 I want to transfer all the traffic to both nginx and apache asynchronously i.e the performance of one server wont be dependent on the ...
0
votes
3answers
46 views

Apache log files getting too big , how do I make it save on a per-day basis

Apache combined log files are getting too large each day in a single file, it is hitting over hundreds megabytes, Which is a quick way or how can i configure to store files per day basis? Will this ...
2
votes
1answer
33 views

apache2 access log , thousands of logs from the IP of the same server

I was Trying to read the apache access log for my vps 1.1.1.173 server and i have found something wired , it has almost 98% of the requests from same IP address of the vps here is an example of ...
1
vote
1answer
19 views

How to set up .httaccess to subfolder

I have these structure on my FTP: one presentation (without .htaccess) second presentation (with .htaccess) - named "sec_pres" third pres. (with .htaccess) - named - "third_pres" How I should ...
2
votes
1answer
23 views

Apache2 mod_wsgi django Named Virtual Servers

I'm trying to set up two seperate django sites using mod_wsgi on apache. The first site is working fine, but the second site cupaday.dyndns.biz is giving a 403: [Tue Feb 07 22:32:57 2012] [error] ...
1
vote
0answers
14 views

WebDAV user permissions on a per file basis

My team and I are building a webDAV server using Apache 2.2. We have run into an issue with user permissions. We have it currently set up so that user permissions work for folders on the server but ...
1
vote
1answer
16 views

VirtualHost on Lion navigates to wrong document root

I'm struggling with getting Virtual Hosts running on my local Lion development machine. Here's the scenario. I have Site-A.dev and Site-B.dev sitting in my User/computername/Sites folder, like this: ...
0
votes
1answer
72 views

Nobody can access the page of my site

I installed the Apache. I created a directory with the name of my site: /var/www/domain and I configured the virtualhosts: <VirtualHost *:80> ServerAdmin webmaster@domain.com ...
0
votes
1answer
15 views

Can Apache conditionally perform a rewrite from a custom http header?

I have an apache server behind a (simple amazon) load balancer. I want to redirect any incoming traffic that is not 443 to 443. I would prefer it to use just one apache virtual host. So I'm trying ...
0
votes
1answer
34 views

Apache proxypass virtual hosting for backend redirection

I have a apache proxy load balancer running. I have a domain wiki.mydomain.com registered to this lb. I am trying to make proxy redirect from wiki.mydomain.com to the backend ...
1
vote
1answer
40 views

Cache busting?

Is there a way to force browsers to reload all javascript files ( *.js )from apache ?? I've got a beta site up, and every time I make a change to a javascript file, I've gotta tell my users to ...
1
vote
2answers
45 views

.htaccess setup configuration

Here is my compiled .htaccess for security. do you see anything wrong with it that needs to be corrected? is there anything here that might mess up a legit website? did I cover all the basics? ...
1
vote
1answer
21 views

NginX & Plesk: 502

Having server with CentOS and Plesk. Installed nginx right how it's discribed here: http://gudym.net/plesk-nginx.html But now if i go to mysupermegasite.com I'm getting 502 Bad Gateway nginx/0.8.55 ...
1
vote
1answer
22 views

How to redirect all subdomains do one domain in Apache config file without specifying domain name?

I want to make general rule for all my domains, so I don't have to specify each of them individually. I have these two lines in my Apache config file: RewriteCond %{HTTP_HOST} ^domain\.com ...
1
vote
1answer
35 views

CentOS web files permissions for Apache and FTP

I have a CentOS VPS. The problem is my html files in /var/www/html seem to need to be owned by the apache user in order for some web applications to work (ie file uploads). If they are owned by the ...
0
votes
2answers
17 views

Confusion about VHost and DNS Entry regarding Subdomain Configuration (Apache)

On my Vserver Id like to configure a subdomain. So I have the following entries in my apache vhost config. I want to have my site app1.example.com to run as own site, so that pages and files have the ...
0
votes
0answers
33 views

apache allow acces from different host

I'm running an webapp on http://localhost:4020/ I proxy some requests from it to my apache server running on http://localhost:80 But instead of the file I want I get this error message: Client sent ...
2
votes
2answers
78 views

Port 80 and 443 won't forward?

I live in Australia, and my ISP is Bigpond (ADSL2) with a "Thomson TG782T" Router, and my port 80 and 443 won't forward. I have set up an Apache server before years ago (I was in a different ...
0
votes
1answer
19 views

Apache: Override Accept-Language

I have Chinese clients that provide the following in their http request headers: Accept-Language: zh-cn,zh;q=0.5 This is causing problems with characters being dropped by our load balancer. Is ...
0
votes
0answers
25 views

How can i test for an environment variable in a RewriteCond

Is there a way to put an environment variable in the condPattern part of a RewriteCond? Here is what i tried: RewriteCond %{REQUEST_URI} /%{ENV:ALIAS}/(js|css|img).* RewriteRule (.*) - [L,NS] But ...
0
votes
0answers
15 views

php.ini seems to be completely ignored [closed]

Possible Duplicate: php.ini seems to be completely ignored I'm working on a Dreamhost VPS, so I don't know if that has anything to do with this: The include_path entry in the php.ini file ...
1
vote
2answers
49 views

php.ini seems to be completely ignored

I'm working on a Dreamhost VPS, so I don't know if that has anything to do with this: The include_path entry in the php.ini file seems to be completely ignored. There are several php.ini files ...
-1
votes
1answer
18 views

gotroot mod_security rules

Are the gotroot mod_security rules any good? I've heard that you will get a lot of false positives and before I try and use them on a live box just wanted to know if anyone else has experience with ...
0
votes
2answers
42 views

Always get a 403 Forbidden error

I'm getting a 403 Forbidden error on my client's server (which somebody else set up). I'm using Apache on CentOS. Since somebody else set up the server, and since the server is CentOS and not the ...
0
votes
1answer
26 views

ErrorDocument when using Apache as reverse-proxy

'evening, I have an Apache server (2.2.19) and a 4D Webstar server (kinda unknown HTTP server) on the same physical server. Apache only listens the SSL port (443) and is used as a reverse-proxy to ...
3
votes
1answer
63 views

Apache executes HTML, but not PHP; PHP CLI works

I am running php 5.3.3 on rhel 6.2 with Apache 2.2.15 and am failing to get PHP code interpreted by Apache. There are no errors (in the system log, httpd/error_log, or php_errors.log) - I have ...
3
votes
1answer
39 views

Redirect /pagename to /#pagename

I would like to get the following apache-redirect working: When someone surfs to mydomain.tld/contact, they should be redirected to mydomain.tld/#contact. This is because I built a one-page-website ...
0
votes
1answer
20 views

Configure apache to load special folder for specific port

How to configure Apache to load special folder when using special port ? Document root is : www\ Now i want to load www\folder\ when i enter http://localhost:8090/ on url. I think i should create a ...
1
vote
1answer
28 views

How do I avoid URL redirect when using SSLRequireSSL + ErrorDocument

Ok, so I have an Apache host I'm working on (shared host) who has this in their root .htaccess file.: Options -Indexes SSLOptions +StrictRequire ErrorDocument 401 "<!DOCTYPE html><html ...
3
votes
4answers
323 views

Blocked IP in iptables but still seeing it in apache logs

I'm running a Centos 6.0 server, with Apache 2/MySQL. I've got iptables running. I followed these steps tonight to block all traffic from an IP using iptables: iptables -A INPUT -s xxx.xxx.xxx.xxx -j ...
8
votes
1answer
126 views

What are the best linux permissions to use for my website?

I have a Linux web server running Apache2 that hosts several websites. Each website has its own folder in /var/www/. /var/www/contoso.com/ /var/www/contoso.net/ /var/www/fabrikam.com/ The base ...
2
votes
1answer
64 views

SSH Port Forwarding -D not working anymore

I have a virtual server in the US. When I first set it up I was able to use dynamic port forwarding with ssh -D PORTNUMBER serveraddress After that I could set up Firefox to use that as SOCKS5 ...
-3
votes
1answer
24 views

How do you setup PHP to run as user as CGI?

Been trying lots of examples but nothing seems to be working. I don't wanna use yum/apt-get I want to do everything from source so I get a better understanding. Yum/apt-get just cheats the system and ...

1 2 3 4 5 172