I have 2 Apache instances on the same server, one on port 80, one on another port. The first one works fine. When I go to mydomain.com:otherport I get the error message named in the title. The directory does exist, and has the same user and group that the web server is running as.
...
I'm trying to get mod-python to work with apache2 but not having any success. I've followed a few tutorials for getting mod-python working but I can't see what I'm doing wrong.
When I visit http://site.example.com/cgi-bin/test.py I actually get my 404 page! (whereas I get a 403 forbidden if the file really doesn't exist)
Here's my set...
I see that there's the 000-default virtual host and I left it. I created a new file and link for mysite.com and it works, but not how I want it to. I'm wondering, does anyone know if I need to delete or if I shouldn't delete the 000-default vh?
For some reason if to go to http://mysite.com it takes me to the 000-default site, but if I...
I'm using Apache2, and when reloading/restarting the server I get this warning:
apache2: Could not reliably determine the server's fully qualified domain name, using (my FQDN) for ServerName
Everything works fine, but I'm trying to figure out what's causing the error. I'm grabbing the source to see if can find it, but since my C's not...
For my web hosting panel, users need to be blocked from accessing files outside their own directory (/var/www/u/s/username). I tried to use this line in httpd.conf to prevent people from going up a directory.
php_admin_value open_basedir .:/usr/lib/php5
But in php.ini, it seems to have no effect. What am I doing wrong?
...
I have a production server with apache2, php, mysql.
I have just one site right now (mysite.com) as a virtual host. I want to put phpmyadmin, webalizer, and maybe webmin on there. So far, I installed phpmyadmin, and it works but the whole internet can go to mysite.com/phpmyadmin
How can I reduce the visibility to say 192.168.0.0/16 so...
I have Django deployed with mod_wsgi in daemon mode for apache2.2. So after Django churns out the content, does it hand off everything to apache from there to have it served in its optimised glory or is Django still somehow taxed in this serving step?
...
I took over a PHP project and I'm trying to get it running on my dev box. I'm a developer and not a sysadmin, so I'm having trouble getting it working.
The previous developer used .h files to include PHP. My current configuration is taking that .h file and including it without executing it. What do I need to look for in my apache con...
mod_perl/apache doesn't seem able to follow symlinks.
In httpd.conf I have:
Options FollowSymLinks
<VirtualHost *>
ServerName cas.devserver.com
ServerAlias cas.devserver.com
ServerAdmin [email protected]
DocumentRoot /var/www/htdocs/abc/def
PerlSwitches -I/var/www/cgi-bin
PerlSendHe...
This is an Apache question you've probably come across before. I want to have one source package that I can deploy to my workstation, my staging server, and my production server, but for it to load different .htaccess settings based on what the URL was.
Note that I was using a kludge with an IfModule call, but that won't work with our ...
Hi Stackers,
I'm deploying my django site on a Ubuntu 8.10 server that I've set up from scratch. I'm totally new to this so there may be plenty of stuff that I've missed, but happily have found my way through to the point of deploying a website.
My last hurdle:
I'm getting an authentication error with postgresql
[Sun Apr 19 18:44:05...
I'm trying to install software based on Apache2/mod_perl2/Perl onto an OpenSUSE 11.1 box.
libapreq2 doesn't seem to be anywhere in the OpenSUSE repository, and CPAN won't install it because my mod_perl is from the package manager, not from source.
I'd really rather stick with packages for this install, rather than building from source ...
I have a default Apache 2.2 system setup with a Perl CGI script directory configured like so:
ScriptAlias /jarvis/ "/opt/jarvis/cgi-bin/"
Nothing fancy in here except one of my scripts takes over 10 minutes to process, and due to various reasons, prints out nothing during this time.
Apache appears to have a timeframe of 10 minutes (6...
Hi,
My server (ubuntu 8.04) LAMP running drupal 6, when there is high traffic, it stops serving pages. A restart of apache2 will not work, so I have to restart the service.
I found this message in the apache2 error.log
[notice] caught SIGWINCH, shutting
down gracefully
Also I notice that the process id of the apache2, was aroun...
I have a perl generated page. The contents of this page change every 30 minutes, so I'm setting $r->set_last_modified() to the time the contents last changed.
That all works well and I can see the correct header arriving at my browser.
When I refresh the page, I see my browser uses the correct "If-Modified-Since" header in the request ...
Hi,
Basically I have 2 separate code bases, v1 and v2 for the sake of this example. I want to redirect a certain area of the v1 site to v2 so we can periodically port the old code to new code.
Now, I have done this exact sort of code porting before, I just can't remember the exact specifics and whether we did some apache voodoo to get...
I have several domains that I would like to have wildcard subdomains enabled for through mod_vhost_alias
Included in my httpd.conf I have the following generalized rules:
<VirtualHost [ip here]:80>
ServerName domain1.com
ServerAlias www.domain1.com
DocumentRoot /home/user1/public_html
</VirtualHost>
<VirtualHost [ip her...
I've been scouring the net and SO and I can't get around or through this problem.
We have a bunch of subdomains and a few dedicated servers. One server does double-triple duty as issue tracking and landing page. Problem is the wildcard landing page doesn't take you to the correct virtual host page sometimes. I've been looking at wildcar...
can anybody tell me whether the following approach is correct or not?
[groups]
team1=user1
team2= user2.user3
[/]
@team1=rw
[subversion:/myproject1]
@team=rw
...
Hello,
I have a mongrel server running behind Apache. It works fine; however, every now and then the Apache server shuts downs seemingly by itself. I'm not sure if there is configuration issue or if it's an attack. Here is Apache error log:
[Thu Apr 30 02:15:07 2009] [notice] SIGHUP received. Attempting to restart
[Thu Apr 30 02:15:0...