Denying requests from a particular directory
If you have a directory of files that you need to deny access to then this is one way to do it. It comes in handy in the event someone posts a direct link to the one of the files to a really popular message board. <Directory "/path/to/directory"> [...]
October 24, 2006 @16:24 (Replies: 0)
Apache slow to respond due to lack of entropy - and it says no PID file when starting?
If Apache2: * accepts connections * does not respond to clients * creates exactly one process * is not stopped by Then you probably don't have enough entropy in your system. This happens when the computer sits idle much of the time. [...]
November 08, 2005 @02:47 (Replies: 0)
How do you configure apache to rotate it's log files so they don't become to large?
On apache you can use the rotatelogs program to do this for you. On apache2 my httpd.conf or vhosts file looks like this: ErrorLog /path-to-logs/error_log CustomLog "|/usr/sbin/rotatelogs2 /path-to-logs/access_log 86400" combined this will rot [...]
March 08, 2004 @22:04 (Replies: 0)
how to add a secure user to apache
try this: htpasswd -c /usr/local/etc/httpd/users martin the -c will create the file if it's not there already John M.
October 25, 2002 @03:01 (Replies: 0)
how can you setup apache to support multiple domains
There are may ways to support multiple domains, here is one way using ip based virtual hosts: 1. add this line to the end of your httpd.conf: Include /location/of/apache/install/conf/vhosts.conf 2. then make a file called /location/of/apac [...]
August 07, 2002 @13:41 (Replies: 0)
how to set a custom 404 page with apache
Add this line to your site configuration (where "/" represents the root of your web dir): ErrorDocument 404 /foobar.html John M.
August 07, 2002 @13:35 (Replies: 0)
Re: apache broken after changing permissions
the httpd (apache) server is usually ran under the user of "nobody." So this means that your web files need execute permissons for the user "nobody" John M.
April 23, 2002 @05:37 (Replies: 0)
apache broken after changing permissions
I was changing permissions on some web files.... and now apache gives a permissions error when it tries to serve the page John M.
April 23, 2002 @05:35 (Replies: 1)
Re: how do you configure apache
A really nice way to configure apache is enabling "most" of the modules it supports. For a newbie, it's way too easy... do this once your inside the unpacked apache directory: ./configure --prefix=/apache/destination --enable-module=most --en [...]
April 04, 2002 @13:37 (Replies: 0)
how do you configure apache
I would like to try using apache for tesing, but i'm not usre how to configure it? any advice? John M.
April 04, 2002 @13:30 (Replies: 1)
Total records: 10