Search found 199 matches
- Wed Jun 24, 2009 8:58 pm
- Forum: Apache
- Topic: multidomain domain2.com to www.domain1.com
- Replies: 2
- Views: 32924
Re: multidomain domain2.com to www.domain1.com
It might be a setting in your apache config for virtual hosts. It should look something like this. <VirtualHost *:80> ServerName www.domain1.com ServerAlias domain1.com web.domain1.com DocumentRoot /var/www/domain1.com </VirtualHost> Make sure you have ServerAlias set. To be sure, you should post yo...
- Tue Feb 03, 2009 12:46 pm
- Forum: Apache
- Topic: Solved: Rotate apache logs in windows
- Replies: 8
- Views: 163178
Re: Solved: Rotate apache logs in windows
The logrotate that comes with Apache, doesn't zip or delete files. I made a litlle bat-file that zips and delete the old zip files. @ECHO OFF SET datum=%Date:~-4,4%_%Date:~-7,2%_%Date:~-10,2% SET logdir=c:\Program Files\Apache Group\Apache2\logs\ SET holdzipfiles=7 ::go to dir cd %logfir% ::gets all...
- Thu Jan 08, 2009 9:07 pm
- Forum: Apache
- Topic: Solved: Rotate apache logs in windows
- Replies: 8
- Views: 163178
Re: Rotate apache logs in windows
Arch you need to put the slashes right,
This should work:
This should work:
Code: Select all
CustomLog "| bin/rotatelogs.exe logs/access%Y_%m_%d.log 86400" common
- Tue Dec 16, 2008 4:23 pm
- Forum: Apache
- Topic: Solved: Apache virtual host problem
- Replies: 2
- Views: 30225
Re: Apache virtual host problem
You alse need to add the port with NameVirtualHost.
Like this:
Like this:
Code: Select all
NameVirtualHost *:8081
<VirtualHost *:8081>
ServerAdmin webmaster@localhost
....
- Fri Sep 19, 2008 3:35 pm
- Forum: Apache
- Topic: Solved: Rotate apache logs in windows
- Replies: 8
- Views: 163178
Re: Rotate apache logs in windows
Perhaps if you add the full pathname of the log file?
- Sat Sep 13, 2008 2:01 pm
- Forum: Apache
- Topic: Solved: Rotate apache logs in windows
- Replies: 8
- Views: 163178
Re: Rotate apache logs in windows
Sorry, my mistake the full line should read:
dont forget to set the root dir:
(Normally this is already done at the beginning of the file/)
Code: Select all
CustomLog "| bin\rotatelogs.exe logs\access%Y_%m_%d.log 86400" common
dont forget to set the root dir:
Code: Select all
ServerRoot "C:/Program Files/Apache Group/Apache2"
- Fri Sep 12, 2008 8:51 am
- Forum: Apache
- Topic: Solved: Rotate apache logs in windows
- Replies: 8
- Views: 163178
Re: Rotate apache logs in windows
You can use rotatelogs.exe to manage the logs. rotatelogs.exe can be found in the apache2/bin/ CustomLog "| bin\rotatelogs.exe logs\access%Y_%m_%d.log 86400" Should create a new log every day. (86400 seconds) You can als create a new one on size: CustomLog "| bin\rotatelogs.exe logs\a...
- Sat Aug 23, 2008 12:29 pm
- Forum: XML
- Topic: Solved: XML/XSL error in IE
- Replies: 4
- Views: 74437
Re: XML/XSL error in IE
You have put a O(Letter) instead of 0 (zerro) in the version number. Wrong: <xsl:stylesheet version="1.O" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> Corrected: <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> You can't see...
- Wed Aug 20, 2008 3:43 pm
- Forum: XML
- Topic: Solved: XML/XSL error in IE
- Replies: 4
- Views: 74437
Re: XML/XSL error in IE
Can you post your XSL-code?
It might be helpfull in debugging.
It might be helpfull in debugging.