You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Dawid <el...@o2.pl> on 2005/01/28 23:15:35 UTC

[users@httpd] Dynamic virtual hosts

Hello, I've problem with setting dyngamically virtual hosts.
I would that when sb's entering abcd.mydomain.com to:
- if user "abcd" exists - load mydomain.com/~abc
- if not - load page from /var/www/htdocs/abcd directory

I know how to do the 2nd thing (VirtualDocumentRoot /var/www/htdocs/%2) but 
have no idea about the 1st and of course how to combine them.

Please advise me a little. Thanks
				
			David

(Sorry about my english)

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Dynamic virtual hosts

Posted by Joshua Slive <js...@gmail.com>.
On Fri, 28 Jan 2005 23:15:35 +0100, Dawid <el...@o2.pl> wrote:
> Hello, I've problem with setting dyngamically virtual hosts.
> I would that when sb's entering abcd.mydomain.com to:
> - if user "abcd" exists - load mydomain.com/~abc
> - if not - load page from /var/www/htdocs/abcd directory
> 
> I know how to do the 2nd thing (VirtualDocumentRoot /var/www/htdocs/%2) but
> have no idea about the 1st and of course how to combine them.

This is not an easy thing to do.  Start by reading the section "Search
pages in more than one directory" under
http://httpd.apache.org/docs-2.0/misc/rewriteguide.html#url

Be sure to use the RewriteLog to help with your debugging.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] what's in the access.log ?

Posted by Jorge Schrauwen <jo...@blackdot.be>.
Hmmz no idea then sry,
But it doesn’t look harmfull

Jorge 

-----Original Message-----
From: BAGI Akos [mailto:abagi@compuflex.hu] 
Sent: Sunday, January 30, 2005 17:57
To: users@httpd.apache.org
Subject: Re: [users@httpd] what's in the access.log ?

No, I installed with apt-get everything ( debian/sarge ) The libwww-perl
version is 5.803-3 The perl version is 5.8.4

			Regards
			Akos

Jorge Schrauwen írta:
> Have you recently compiled libwww-perl on your computer?
> IIRC this is from the test its does while doing make test/nmake test

> 
> Jorge
> 
> -----Original Message-----
> From: BAGI Akos [mailto:abagi@compuflex.hu]
> Sent: Sunday, January 30, 2005 13:25
> To: users@httpd.apache.org
> Subject: [users@httpd] what's in the access.log ?
> 
> Hi List!
> 
> I'm new to apache2.
> I found some ( at least for me ) strange entries in the access.log ( 
> it runs in combined mode ) Please help what does it mean!
> 
> 195.70.35.91 - - [29/Jan/2005:07:24:18 +0100] "GET / HTTP/1.1" 200 1036
"-"
> "libwww-perl/5.64"
> 195.70.35.91 - - [29/Jan/2005:07:24:18 +0100] "GET / HTTP/1.1" 200 1036
"-"
> "libwww-perl/5.64"
> 195.70.35.91 - - [29/Jan/2005:07:24:18 +0100] "GET / HTTP/1.1" 200 1036
"-"
> "libwww-perl/5.64"
> 
> 
> Is it an attack or just a robot.
> It makes me worry the libww-perl part and that the other entries look 
> different.
> Does it mean only that they connected with a perl script? Or they 
> activated my perl lib?
> 
> 
> 
> 				Thank you
> 					Akos
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 
> 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] what's in the access.log ?

Posted by BAGI Akos <ab...@compuflex.hu>.
No, I installed with apt-get everything ( debian/sarge )
The libwww-perl version is 5.803-3
The perl version is 5.8.4

			Regards
			Akos

Jorge Schrauwen írta:
> Have you recently compiled libwww-perl on your computer?
> IIRC this is from the test its does while doing make test/nmake test

> 
> Jorge 
> 
> -----Original Message-----
> From: BAGI Akos [mailto:abagi@compuflex.hu] 
> Sent: Sunday, January 30, 2005 13:25
> To: users@httpd.apache.org
> Subject: [users@httpd] what's in the access.log ?
> 
> Hi List!
> 
> I'm new to apache2.
> I found some ( at least for me ) strange entries in the access.log ( it runs
> in combined mode ) Please help what does it mean!
> 
> 195.70.35.91 - - [29/Jan/2005:07:24:18 +0100] "GET / HTTP/1.1" 200 1036 "-"
> "libwww-perl/5.64"
> 195.70.35.91 - - [29/Jan/2005:07:24:18 +0100] "GET / HTTP/1.1" 200 1036 "-"
> "libwww-perl/5.64"
> 195.70.35.91 - - [29/Jan/2005:07:24:18 +0100] "GET / HTTP/1.1" 200 1036 "-"
> "libwww-perl/5.64"
> 
> 
> Is it an attack or just a robot.
> It makes me worry the libww-perl part and that the other entries look
> different.
> Does it mean only that they connected with a perl script? Or they activated
> my perl lib?
> 
> 
> 
> 				Thank you
> 					Akos
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 
> 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] what's in the access.log ?

Posted by Jorge Schrauwen <jo...@blackdot.be>.
Have you recently compiled libwww-perl on your computer?
IIRC this is from the test its does while doing make test/nmake test

Jorge 

-----Original Message-----
From: BAGI Akos [mailto:abagi@compuflex.hu] 
Sent: Sunday, January 30, 2005 13:25
To: users@httpd.apache.org
Subject: [users@httpd] what's in the access.log ?

Hi List!

I'm new to apache2.
I found some ( at least for me ) strange entries in the access.log ( it runs
in combined mode ) Please help what does it mean!

195.70.35.91 - - [29/Jan/2005:07:24:18 +0100] "GET / HTTP/1.1" 200 1036 "-"
"libwww-perl/5.64"
195.70.35.91 - - [29/Jan/2005:07:24:18 +0100] "GET / HTTP/1.1" 200 1036 "-"
"libwww-perl/5.64"
195.70.35.91 - - [29/Jan/2005:07:24:18 +0100] "GET / HTTP/1.1" 200 1036 "-"
"libwww-perl/5.64"


Is it an attack or just a robot.
It makes me worry the libww-perl part and that the other entries look
different.
Does it mean only that they connected with a perl script? Or they activated
my perl lib?



				Thank you
					Akos

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] what's in the access.log ?

Posted by BAGI Akos <ab...@compuflex.hu>.
Hi List!

I'm new to apache2.
I found some ( at least for me ) strange entries in the access.log
( it runs in combined mode )
Please help what does it mean!

195.70.35.91 - - [29/Jan/2005:07:24:18 +0100] "GET / HTTP/1.1" 200 1036 
"-" "libwww-perl/5.64"
195.70.35.91 - - [29/Jan/2005:07:24:18 +0100] "GET / HTTP/1.1" 200 1036 
"-" "libwww-perl/5.64"
195.70.35.91 - - [29/Jan/2005:07:24:18 +0100] "GET / HTTP/1.1" 200 1036 
"-" "libwww-perl/5.64"


Is it an attack or just a robot.
It makes me worry the libww-perl part and that the other entries look 
different.
Does it mean only that they connected with a perl script? Or they 
activated my perl lib?



				Thank you
					Akos

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org