Re: [EMAIL PROTECTED] Growing Error.log
Under linux I use logrotate, which copies the contents of the logfiles, compresses it, creates an empty logfile and restarts apache. All the old logs (older than one week for example) are deleted. I don't know if such a tool exists on Windows, but I think it does; or if not, it couldn't be hard to write one :) Gergely Schlup, Herbert írta: > > Mhhh…. I had a 2 GB File which filled my c-drive…. So any other idea? > Possible to have job that empty this file? > > > > > > *From:* POLONKAI Gergely [mailto:[EMAIL PROTECTED] > *Sent:* Montag, 18. Dezember 2006 08:41 > *To:* users@httpd.apache.org > *Subject:* Re: [EMAIL PROTECTED] Growing Error.log > > > > Hello, > > these files are contents of the IIS, and can be hacked many ways. > That's why bad people try to "download" these to hack an IIS based web > server. As far as I know you can't do anything against it... > > Gergely POLONKAI > > Schlup, Herbert írta: > > Dear all > > > > I have my error.log growing and growing. I have following repeating > errors where I do not know where they are coming from. > > > > [Mon Dec 18 08:09:32 2006] [error] [client 149.133.30.248] File does > not exist: C:/Program Files/Apache Group/Apache2/htdocs/clientwebservice > > [Mon Dec 18 08:09:32 2006] [error] [client 149.133.30.248] File does > not exist: C:/Program Files/Apache Group/Apache2/htdocs/iuident.cab > > [Mon Dec 18 08:09:34 2006] [error] [client 149.133.30.248] File does > not exist: C:/Program Files/Apache Group/Apache2/htdocs/autoupdate > > [Mon Dec 18 08:09:34 2006] [error] [client 149.133.30.248] File does > not exist: C:/Program Files/Apache Group/Apache2/htdocs/wutrack.bin > > [Mon Dec 18 08:10:50 2006] [error] [client 149.133.30.31] File does > not exist: C:/Program Files/Apache Group/Apache2/htdocs/ClientWebService > > [Mon Dec 18 08:12:08 2006] [error] [client 149.133.31.207] File does > not exist: C:/Program Files/Apache Group/Apache2/htdocs/SelfUpdate > > > > I uninstalled Apache and re-installed Version 2.0.59. But the error is > still there. > > > > Please help > > > > Thank you > > > > Herbert >
RE: [EMAIL PROTECTED] Growing Error.log
Mhhh I had a 2 GB File which filled my c-drive So any other idea? Possible to have job that empty this file? From: POLONKAI Gergely [mailto:[EMAIL PROTECTED] Sent: Montag, 18. Dezember 2006 08:41 To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] Growing Error.log Hello, these files are contents of the IIS, and can be hacked many ways. That's why bad people try to "download" these to hack an IIS based web server. As far as I know you can't do anything against it... Gergely POLONKAI Schlup, Herbert írta: Dear all I have my error.log growing and growing. I have following repeating errors where I do not know where they are coming from. [Mon Dec 18 08:09:32 2006] [error] [client 149.133.30.248] File does not exist: C:/Program Files/Apache Group/Apache2/htdocs/clientwebservice [Mon Dec 18 08:09:32 2006] [error] [client 149.133.30.248] File does not exist: C:/Program Files/Apache Group/Apache2/htdocs/iuident.cab [Mon Dec 18 08:09:34 2006] [error] [client 149.133.30.248] File does not exist: C:/Program Files/Apache Group/Apache2/htdocs/autoupdate [Mon Dec 18 08:09:34 2006] [error] [client 149.133.30.248] File does not exist: C:/Program Files/Apache Group/Apache2/htdocs/wutrack.bin [Mon Dec 18 08:10:50 2006] [error] [client 149.133.30.31] File does not exist: C:/Program Files/Apache Group/Apache2/htdocs/ClientWebService [Mon Dec 18 08:12:08 2006] [error] [client 149.133.31.207] File does not exist: C:/Program Files/Apache Group/Apache2/htdocs/SelfUpdate I uninstalled Apache and re-installed Version 2.0.59. But the error is still there. Please help Thank you Herbert
Re: [EMAIL PROTECTED] Growing Error.log
Hello, these files are contents of the IIS, and can be hacked many ways. That's why bad people try to "download" these to hack an IIS based web server. As far as I know you can't do anything against it... Gergely POLONKAI Schlup, Herbert írta: > > Dear all > > > > I have my error.log growing and growing. I have following repeating > errors where I do not know where they are coming from. > > > > [Mon Dec 18 08:09:32 2006] [error] [client 149.133.30.248] File does > not exist: C:/Program Files/Apache Group/Apache2/htdocs/clientwebservice > > [Mon Dec 18 08:09:32 2006] [error] [client 149.133.30.248] File does > not exist: C:/Program Files/Apache Group/Apache2/htdocs/iuident.cab > > [Mon Dec 18 08:09:34 2006] [error] [client 149.133.30.248] File does > not exist: C:/Program Files/Apache Group/Apache2/htdocs/autoupdate > > [Mon Dec 18 08:09:34 2006] [error] [client 149.133.30.248] File does > not exist: C:/Program Files/Apache Group/Apache2/htdocs/wutrack.bin > > [Mon Dec 18 08:10:50 2006] [error] [client 149.133.30.31] File does > not exist: C:/Program Files/Apache Group/Apache2/htdocs/ClientWebService > > [Mon Dec 18 08:12:08 2006] [error] [client 149.133.31.207] File does > not exist: C:/Program Files/Apache Group/Apache2/htdocs/SelfUpdate > > > > I uninstalled Apache and re-installed Version 2.0.59. But the error is > still there. > > > > Please help > > > > Thank you > > > > Herbert >
[EMAIL PROTECTED] Growing Error.log
Dear all I have my error.log growing and growing. I have following repeating errors where I do not know where they are coming from. [Mon Dec 18 08:09:32 2006] [error] [client 149.133.30.248] File does not exist: C:/Program Files/Apache Group/Apache2/htdocs/clientwebservice [Mon Dec 18 08:09:32 2006] [error] [client 149.133.30.248] File does not exist: C:/Program Files/Apache Group/Apache2/htdocs/iuident.cab [Mon Dec 18 08:09:34 2006] [error] [client 149.133.30.248] File does not exist: C:/Program Files/Apache Group/Apache2/htdocs/autoupdate [Mon Dec 18 08:09:34 2006] [error] [client 149.133.30.248] File does not exist: C:/Program Files/Apache Group/Apache2/htdocs/wutrack.bin [Mon Dec 18 08:10:50 2006] [error] [client 149.133.30.31] File does not exist: C:/Program Files/Apache Group/Apache2/htdocs/ClientWebService [Mon Dec 18 08:12:08 2006] [error] [client 149.133.31.207] File does not exist: C:/Program Files/Apache Group/Apache2/htdocs/SelfUpdate I uninstalled Apache and re-installed Version 2.0.59. But the error is still there. Please help Thank you Herbert
Re: [EMAIL PROTECTED] Address CGI w/ URL and not Path Name
The DocumentRoot is the same for a CGI script, but when a script is running, the URL is usually something like hotsname/cgi-bin/scriptname so if you refer to myscript.js (note the lack of the leading "/") then apache will try to fetch "myscript.js" from the same directory as the CGI script came from. It will also try to execute it (as it is coming from a CGI script directory). On 17/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Are you referring to the Document Root in httpd.conf? I still need the document root from the file system, but is there a way that when cgi is used it is fed a different argument? EG - Original Message - From: Steve Swift Date: Saturday, December 16, 2006 2:04 am Subject: Re: [EMAIL PROTECTED] Address CGI w/ URL and not Path Name To: users@httpd.apache.org > When you use the "C:/directory/file" format your browser is > fetching the > file directly from the filesystem and displaying it as best it > can; your > apache webserver is not involved in the process at all. So there > will be no > execution of the CGI script, as that takes place inside apache. > > On 15/12/06, [EMAIL PROTECTED] wrote: > > > > I have a set of cgi scripts that will only run when addressed > with an ' > > http://type URL' and not the 'C:/directory/file' format. When > I need to > > use cgi Apache produces a 'Save As' Dialog box because the > http server is > > being bypassed. I can't figure out how to rewrite how my cgi > programs are > > addressed. I don't want the Document Root included, I need > the http:// > > format for them to run. > > > > EG > > > > > > -- > Steve Swift > http://www.swiftys.org.uk > -- Steve Swift http://www.swiftys.org.uk
Re: [EMAIL PROTECTED] Permissions with Apache 2.2
On 12/17/06, Larry <[EMAIL PROTECTED]> wrote: I know it is looking in the correct directory, because the favicon is displayed along with the 403 message. Anyone see what I am doing wrong? Not telling us what's in the apache error log to start. Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] Permissions with Apache 2.2
Windows Xp Pro, SP2, Apache 2.2 - trying to setup a testing server on my workstation. I keep getting 403 (permission) errors when using virtual hosts. All sites are subdirectories of C:\Websites and all are shared. Web Sharing is turned on in all sites. Window's host file lists: 127.0.0.1 localhost 127.0.0.1 Websites 127.0.0.1 weather etc. vhosts are enabled in httpd.conf (uncommented) and setup correctly (I think) in /Program Files/Apache Software Foundation/Apache2.2/conf/extra/httpd-vhosts.conf: Order Deny,Allow Allow from all Order Deny,Allow Allow from all etc. DocumentRoot"C:/Websites" ServerName localhost DocumentRoot"C:/Websites/Weather III" ServerName weather etc. I know it is looking in the correct directory, because the favicon is displayed along with the 403 message. Anyone see what I am doing wrong? Thanks -- Larry Email to rapp at lmr dot com - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Address CGI w/ URL and not Path Name
Are you referring to the Document Root in httpd.conf? I still need the document root from the file system, but is there a way that when cgi is used it is fed a different argument? EG - Original Message - From: Steve Swift Date: Saturday, December 16, 2006 2:04 am Subject: Re: [EMAIL PROTECTED] Address CGI w/ URL and not Path Name To: users@httpd.apache.org > When you use the "C:/directory/file" format your browser is > fetching the > file directly from the filesystem and displaying it as best it > can; your > apache webserver is not involved in the process at all. So there > will be no > execution of the CGI script, as that takes place inside apache. > > On 15/12/06, [EMAIL PROTECTED] wrote: > > > > I have a set of cgi scripts that will only run when addressed > with an ' > > http://type URL' and not the 'C:/directory/file' format. When > I need to > > use cgi Apache produces a 'Save As' Dialog box because the > http server is > > being bypassed. I can't figure out how to rewrite how my cgi > programs are > > addressed. I don't want the Document Root included, I need > the http:// > > format for them to run. > > > > EG > > > > > > -- > Steve Swift > http://www.swiftys.org.uk >
Re: [EMAIL PROTECTED] need some advice on redirection in apache
On 12/17/06, H.S. <[EMAIL PROTECTED]> wrote: Hello, Just wondering, what options do I have to do redirection from the older web site http://mydomain.net: (apache listening on port ) to the new web site http://mydomina.net. In other words, a webserver that has been running on port for quite a few months is to be shifted to port 80. The older web site address should be redirected to this new one. I am looking at the rewrite module in apache. But would sure love to hear what others have to suggest. This is on a Debian Sid with apache 1.3.34-4. See: http://wiki.apache.org/httpd/Recipes/CanonicalHostNames Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] need some advice on redirection in apache
Hello, Just wondering, what options do I have to do redirection from the older web site http://mydomain.net: (apache listening on port ) to the new web site http://mydomina.net. In other words, a webserver that has been running on port for quite a few months is to be shifted to port 80. The older web site address should be redirected to this new one. I am looking at the rewrite module in apache. But would sure love to hear what others have to suggest. This is on a Debian Sid with apache 1.3.34-4. thanks, ->HS - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] external javascript and cgi generated page
Save one of the pages generated by your CGI scripts as static HTML, on the same server that is serving your CGI scripts. Load this page, and work out why the .js functions are not working, and fix your CGI until it generates html that works. On 17/12/06, michaeljay <[EMAIL PROTECTED]> wrote: I generated a page with C. All executed fine as far as serving up the correct markup. CSS and external ecmascript, though, ignored. Made both links to those absolute to the document root, that is, I moved the .js and .css files out of the cgi-bin folder and into the htdocs folder and in the
[EMAIL PROTECTED] external javascript and cgi generated page
I generated a page with C. All executed fine as far as serving up the correct markup. CSS and external ecmascript, though, ignored. Made both links to those absolute to the document root, that is, I moved the .js and .css files out of the cgi-bin folder and into the htdocs folder and in the
Re: [EMAIL PROTECTED] Apache 2.2.3: DirectorySlash not allowed here
Tony van der Hoff <[EMAIL PROTECTED]> writes: >> Yes, but... >> >> http://httpd.apache.org/docs/2.0/howto/htaccess.html#what >> > > Thank you for this reference to what an htaccess file is, but, to be honest, > I am at a loss to understand it. Excuse me for the oversimplified answer, as I wrote it in a rush :( > I am guessing that you are suggesting that I should have an AllowOverride > DirectorySlash directive in my config. Unfortunately this is not a valid > override, the valid ones being AuthConfig, FileInfo, Indexes, and Options. > None of these seem relevant. Not `AllowOverride DirectorySlash', but `AllowOverride Indexes'. `DirectoryIndex' is listed under the `Indexes' catalog, so I guess `DirectorySlash' is also valid there. > You must therefore have meant something different, so I'd be grateful if you > would post a slightly less terse reply for me. You'd better clear the browser cache when you test this, or you may be get confused as I just did. Hope this helps. > Thanks again, > -- > Tony van der Hoff| mailto:[EMAIL PROTECTED] > Buckinghamshire, England > > - > The official User-To-User support forum of the Apache HTTP Server Project. > See http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: [EMAIL PROTECTED] >" from the digest: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Apache 2.2.3: DirectorySlash not allowed here
On 16 Dec at 19:18 Ding Deng <[EMAIL PROTECTED]> wrote in message <[EMAIL PROTECTED]> > Tony van der Hoff <[EMAIL PROTECTED]> writes: > > > Hi, > > > > I'm trying to include a DirectorySlash Off in a .htaccess file: > > > > Order allow,deny Allow from all > > > > Options All -ExecCGI #DirectoryIndex DirectorySlash off > > > > This results in a 500; the entry in the error_log being: > > /home/www/html/coxroster_src/.htaccess: DirectorySlash not allowed here > > > > According to the docs, DirectorySlash should be allowed in .htaccess. > > Anyone got any suggestions as to what's wrong, please? > > Yes, but... > > http://httpd.apache.org/docs/2.0/howto/htaccess.html#what > Thank you for this reference to what an htaccess file is, but, to be honest, I am at a loss to understand it. I am guessing that you are suggesting that I should have an AllowOverride DirectorySlash directive in my config. Unfortunately this is not a valid override, the valid ones being AuthConfig, FileInfo, Indexes, and Options. None of these seem relevant. You must therefore have meant something different, so I'd be grateful if you would post a slightly less terse reply for me. Thanks again, -- Tony van der Hoff| mailto:[EMAIL PROTECTED] Buckinghamshire, England - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]