The apache web server.
7
votes
2answers
4k views
How to avoid apache reload when rotating logs?
I use logrotate to rotate Apache access-, error- and rewrite-logs. My config file looks like this:
/apache/*log {
compress
dateext
rotate 365
size=+300M
olddir /log/old/apache
...
7
votes
1answer
1k views
Throttling web crawlers
My website is being DoS'ed by Google webspiders. Google is welcome to index my site, but sometimes it is querying a tagcloud on my site faster than my webserver can produce the results, making my ...
6
votes
1answer
521 views
httpd running as apache.apache, but logs owned by root.root?
ps shows my httpd processes as
apache 29561 15186 0 15:30 ? 00:00:00 /usr/sbin/httpd
I'm running Centos 5.3
All the log files in /var/log/httpd are owned by root.
Howcome?
6
votes
1answer
401 views
Opening port 80 but remain secure
I have a standard installation of Ubuntu 10.04, and have installed the LAMP stack so I can do some web development locally. On my router I have opened port 80 so I can develop with external services ...
5
votes
3answers
13k views
“Symbolic link not allowed or link target not accessible” / Apache on CentOS 6
I've got a brand new CentOS 6 installation, which has a symlink in the document root to my development files:
[root@localhost html]# ls -l
total 4
-rwxrwxrwx. 1 root root 0 Sep 18 20:16 index.html
...
5
votes
3answers
3k views
How do I create web pages in my home directory and have the web server serve them in my web browser?
I have recently installed the Apache web browser in my Debian Squeeze (using command tasksel and selecting [ ] Web server). Now I get it to start via sudo /etc/init.d/apache2 start and then I go to my ...
5
votes
2answers
21k views
What user should apache and PHP be running as? What permissions should /var/www files have?
I just spun up an Ubuntu 11.10 box and then ran apt-get install apache2 php5 to install apache2 and PHP 5 on the box. Now it is functioning as a "web server" and it loads the "It Works!" page. Now I'm ...
5
votes
4answers
1k views
Case-insensitive file system for production server?
The initial situation looks like this:
The corporate software is PHP-based.
It is delivered by Apache 2 on a Windows 2003 Server.
It is big.
It is a legacy of rather unprofessional developers who ...
5
votes
2answers
4k views
Localhost .htaccess not working on Ubuntu
I have been trying to get my .htaccess file to work on my localhost. I know that the file works because it is on my server and works. However it doesn't seem to be working locally.
I have followed ...
5
votes
3answers
2k views
A Web ssh/telnet client
I'm in kind of a tight spot right now. I wanted to know if someone has seen a HTML, or PHP web ssh client as both my company and school block everything besides port 80. I'm a control freak when it ...
5
votes
1answer
218 views
Unkillable apache2 processes
After upgrading from debian lenny to squeeze (apache2 2.2.16-6+squeeze4 and php 5.3.10-1~dotdeb.1), my apache processes started to exit with segmentation fault. It happens every 5-30 minutes (for 1 ...
5
votes
1answer
328 views
How can I setup Apache on Linux to stream WMV-HD to Xbox 360?
What I am looking for is a free and open source solution. If the distro I use matters, it is Open SUSE. VLC supports only WMV1&2.
5
votes
1answer
92 views
Slow ikiwiki after first run
I have local ikiwiki on my notebook (with apache as local webserver). When I save an edit the first time after booting and logging in, saving is very slow (but the second time saving is at normal ...
4
votes
3answers
5k views
Missing init.d/apache2 file
I am new to linux and just recently messed up my first apache/tomcat configuration. After trying to delete apache and tomcat, and now trying to reinstall apache 2, I am missing the init.d/apache2 file ...
4
votes
2answers
230 views
Apache refuses to start on any port
I can't seem to get Apache to start on any port. I'm always getting the error:
apache2(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
I checked to make sure that ...