Re: [Zope] VHM Problem HELP!!!

2005-08-14 Thread beno

Tino Wildenhain wrote:


Am Sonntag, den 14.08.2005, 10:05 -0400 schrieb beno:
 


Tino Wildenhain wrote:

   


Am Sonntag, den 14.08.2005, 06:32 -0400 schrieb beno:


 


Tino Wildenhain wrote:

  

   


Am Samstag, den 13.08.2005, 22:34 -0400 schrieb beno:



 


...


 



ServerAdmin [EMAIL PROTECTED]
ServerName centurionsecurityvi.com
ServerAlias *.centurionsecurityvi.com
ErrorDocument 401 /errors/401.html
ErrorDocument 403 /errors/403.html
ErrorDocument 500 /errors/500.html
ErrorDocument 404 /errors/403.html
Alias /icons/ /usr/local/apache/icons/
RewriteEngine On

# Webalizer
RewriteRule ^/usage(.*) /usage/centurionsecurityvi.com$1 [L]

RewriteRule ^/(.*) 
http://127.0.0.1:8080/VirtualHostBase/http/www.centurionsecurityvi.com:80/centurionsecurityvi.com/VirtualHostRoot/$1 
[L,P]

SetEnvIf Referer "^$" dontlog
SetEnvIf Referer "^http://centurionsecurityvi\.com.*$"; dontlog
SetEnvIf Referer "^http://www\.centurionsecurityvi\.com.*$"; dontlog
ErrorLog /var/log/apache/vhosts/centurionsecurityvi.com-error_log
CustomLog /var/log/apache/vhosts/centurionsecurityvi.com-access_log combined
CustomLog /var/log/apache/vhosts/centurionsecurityvi.com-referer_log 
referer env=!dontlog


  

   

Looks OK for me. A bit more complex then you need for just the VHost in 
Zope due to your logging rules but it should work.




 

Also output of apachectl -S 



 


printed out the help menu

  

   

or httpd -S 



 


command not found
  

   


It depends on your installation, httpd is the binary which is
the apache usually. Where it is you have to find out yourself.
(/usr/sbin, /usr/pkg/sbin, ... whatever)


 


Well, tried those dirs, then ran
find / -name "httpd*"
which gave me lots of files but not a binary that I could see.

   

In any case you should make sure you reload the config in 
apache. usually this is done via apachectl.



 


I rebooted the entire machine! No luck!
   



Argh. You are on unix. 


No. FreeBSD


Nobody reboots a unix box :)
You did not tell us which OS (linux? 


Yes


And which distribution
you are using. Its hard to guess from here. It looks
like its Apache 1.3. 

I forget how to tell. I was searching for one of those whois sites that 
gives you everything, but I can't put my finger on it. You could try 
this domain

pasekcellars.com
and see what it gives you if you have access to one. I host with iMeme, 
who is devoted exclusively to Zopistas



Often the binary was called httpd.
It could as well be just apache. I really dont know what it
is on your site :) Chances are your config is just not
included. Are you faced with one single config file?
 

Well, we have httpd.conf call a file called vhosts.conf where we put all 
that stuff.

Thanks,
beno

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] VHM Problem HELP!!!

2005-08-14 Thread Tino Wildenhain
Am Sonntag, den 14.08.2005, 10:05 -0400 schrieb beno:
> Tino Wildenhain wrote:
> 
> >Am Sonntag, den 14.08.2005, 06:32 -0400 schrieb beno:
> >  
> >
> >>Tino Wildenhain wrote:
> >>
> >>
> >>
> >>>Am Samstag, den 13.08.2005, 22:34 -0400 schrieb beno:
> >>> 
> >>>  
> >>>
> >...
> >  
> >
> >>
> >>ServerAdmin [EMAIL PROTECTED]
> >>ServerName centurionsecurityvi.com
> >>ServerAlias *.centurionsecurityvi.com
> >>ErrorDocument 401 /errors/401.html
> >>ErrorDocument 403 /errors/403.html
> >>ErrorDocument 500 /errors/500.html
> >>ErrorDocument 404 /errors/403.html
> >>Alias /icons/ /usr/local/apache/icons/
> >>RewriteEngine On
> >> 
> >># Webalizer
> >>RewriteRule ^/usage(.*) /usage/centurionsecurityvi.com$1 [L]
> >>
> >>RewriteRule ^/(.*) 
> >>http://127.0.0.1:8080/VirtualHostBase/http/www.centurionsecurityvi.com:80/centurionsecurityvi.com/VirtualHostRoot/$1
> >> 
> >>[L,P]
> >>SetEnvIf Referer "^$" dontlog
> >>SetEnvIf Referer "^http://centurionsecurityvi\.com.*$"; dontlog
> >>SetEnvIf Referer "^http://www\.centurionsecurityvi\.com.*$"; dontlog
> >>ErrorLog /var/log/apache/vhosts/centurionsecurityvi.com-error_log
> >>CustomLog /var/log/apache/vhosts/centurionsecurityvi.com-access_log combined
> >>CustomLog /var/log/apache/vhosts/centurionsecurityvi.com-referer_log 
> >>referer env=!dontlog
> >>
> >>
> >>
> >
> >Looks OK for me. A bit more complex then you need for just the VHost in 
> >Zope due to your logging rules but it should work.
> >
> >  
> >
> >>>Also output of apachectl -S 
> >>>
> >>>  
> >>>
> >>printed out the help menu
> >>
> >>
> >>
> >>>or httpd -S 
> >>>
> >>>  
> >>>
> >>command not found
> >>
> >>
> >
> >It depends on your installation, httpd is the binary which is
> >the apache usually. Where it is you have to find out yourself.
> >(/usr/sbin, /usr/pkg/sbin, ... whatever)
> >  
> >
> Well, tried those dirs, then ran
> find / -name "httpd*"
> which gave me lots of files but not a binary that I could see.
> 
> >In any case you should make sure you reload the config in 
> >apache. usually this is done via apachectl.
> >  
> >
> I rebooted the entire machine! No luck!

Argh. You are on unix. Nobody reboots a unix box :)
You did not tell us which OS (linux? And which distribution
you are using. Its hard to guess from here. It looks
like its Apache 1.3. Often the binary was called httpd.
It could as well be just apache. I really dont know what it
is on your site :) Chances are your config is just not
included. Are you faced with one single config file?
Or are there many single snipplets?


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] VHM Problem HELP!!!

2005-08-14 Thread beno

Tino Wildenhain wrote:


Am Sonntag, den 14.08.2005, 06:32 -0400 schrieb beno:
 


Tino Wildenhain wrote:

   


Am Samstag, den 13.08.2005, 22:34 -0400 schrieb beno:

 


...
 



ServerAdmin [EMAIL PROTECTED]
ServerName centurionsecurityvi.com
ServerAlias *.centurionsecurityvi.com
ErrorDocument 401 /errors/401.html
ErrorDocument 403 /errors/403.html
ErrorDocument 500 /errors/500.html
ErrorDocument 404 /errors/403.html
Alias /icons/ /usr/local/apache/icons/
RewriteEngine On

# Webalizer
RewriteRule ^/usage(.*) /usage/centurionsecurityvi.com$1 [L]

RewriteRule ^/(.*) 
http://127.0.0.1:8080/VirtualHostBase/http/www.centurionsecurityvi.com:80/centurionsecurityvi.com/VirtualHostRoot/$1 
[L,P]

SetEnvIf Referer "^$" dontlog
SetEnvIf Referer "^http://centurionsecurityvi\.com.*$"; dontlog
SetEnvIf Referer "^http://www\.centurionsecurityvi\.com.*$"; dontlog
ErrorLog /var/log/apache/vhosts/centurionsecurityvi.com-error_log
CustomLog /var/log/apache/vhosts/centurionsecurityvi.com-access_log combined
CustomLog /var/log/apache/vhosts/centurionsecurityvi.com-referer_log 
referer env=!dontlog


   



Looks OK for me. A bit more complex then you need for just the VHost in 
Zope due to your logging rules but it should work.


 

Also output of apachectl -S 

 


printed out the help menu

   

or httpd -S 

 


command not found
   



It depends on your installation, httpd is the binary which is
the apache usually. Where it is you have to find out yourself.
(/usr/sbin, /usr/pkg/sbin, ... whatever)
 


Well, tried those dirs, then ran
find / -name "httpd*"
which gave me lots of files but not a binary that I could see.

In any case you should make sure you reload the config in 
apache. usually this is done via apachectl.
 


I rebooted the entire machine! No luck!

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] VHM Problem HELP!!!

2005-08-14 Thread Tino Wildenhain
Am Sonntag, den 14.08.2005, 06:32 -0400 schrieb beno:
> Tino Wildenhain wrote:
> 
> >Am Samstag, den 13.08.2005, 22:34 -0400 schrieb beno:
> >  
...
> >
> 
> ServerAdmin [EMAIL PROTECTED]
> ServerName centurionsecurityvi.com
> ServerAlias *.centurionsecurityvi.com
> ErrorDocument 401 /errors/401.html
> ErrorDocument 403 /errors/403.html
> ErrorDocument 500 /errors/500.html
> ErrorDocument 404 /errors/403.html
> Alias /icons/ /usr/local/apache/icons/
> RewriteEngine On
>  
> # Webalizer
> RewriteRule ^/usage(.*) /usage/centurionsecurityvi.com$1 [L]
> 
> RewriteRule ^/(.*) 
> http://127.0.0.1:8080/VirtualHostBase/http/www.centurionsecurityvi.com:80/centurionsecurityvi.com/VirtualHostRoot/$1
>  
> [L,P]
> SetEnvIf Referer "^$" dontlog
> SetEnvIf Referer "^http://centurionsecurityvi\.com.*$"; dontlog
> SetEnvIf Referer "^http://www\.centurionsecurityvi\.com.*$"; dontlog
> ErrorLog /var/log/apache/vhosts/centurionsecurityvi.com-error_log
> CustomLog /var/log/apache/vhosts/centurionsecurityvi.com-access_log combined
> CustomLog /var/log/apache/vhosts/centurionsecurityvi.com-referer_log 
> referer env=!dontlog
> 

Looks OK for me. A bit more complex then you need for just the VHost in 
Zope due to your logging rules but it should work.

> 
> >Also output of apachectl -S 
> >
> printed out the help menu
> 
> >or httpd -S 
> >
> command not found

It depends on your installation, httpd is the binary which is
the apache usually. Where it is you have to find out yourself.
(/usr/sbin, /usr/pkg/sbin, ... whatever)

In any case you should make sure you reload the config in 
apache. usually this is done via apachectl.

-S should print out the virtual hosts as seen by apache.

HTH
Tino

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] VHM Problem HELP!!!

2005-08-14 Thread beno

Tino Wildenhain wrote:


Am Samstag, den 13.08.2005, 22:34 -0400 schrieb beno:
 


Hi;
It's been years since I've posted here. I've been spoiled by having a 
full-time programmer :) But he's on vacation and I'm screwed :(
I need to get this site posting to the web but I'm having trouble with 
VHM. I copied, pasted and edited an entry in our httpd.conf file thus:


RewriteRule ^/(.*) 
http://127.0.0.1:8080/VirtualHostBase/http/www.centurionsecurityvi.com:80/centurionsecurityvi.com/VirtualHostRoot/$1 
[L,P]

SetEnvIf Referer "^$" dontlog
SetEnvIf Referer "^http://centurionsecurityvi\.com.*$"; dontlog
SetEnvIf Referer "^http://www\.centurionsecurityvi\.com.*$"; dontlog
ErrorLog /var/log/apache/vhosts/centurionsecurityvi.com-error_log
CustomLog /var/log/apache/vhosts/centurionsecurityvi.com-access_log combined
CustomLog /var/log/apache/vhosts/centurionsecurityvi.com-referer_log 
referer env=!dontlog


Then I went to VHM through the Zope interface and followed the direction:
First box: centurionsecurityvi.com
Second box: /centurionsecurityvi.com
and yes, that's the folder. But it tells me "The path 
/centurionsecurityvi.com was not found"

What gives? Please help. Waah!
beno
   



Copy the output of the complete  directive.
I dont know if its missing or you forgot to copy but
from above there is no RewriteEngine on statement for example.
 



ServerAdmin [EMAIL PROTECTED]
ServerName centurionsecurityvi.com
ServerAlias *.centurionsecurityvi.com
ErrorDocument 401 /errors/401.html
ErrorDocument 403 /errors/403.html
ErrorDocument 500 /errors/500.html
ErrorDocument 404 /errors/403.html
Alias /icons/ /usr/local/apache/icons/
RewriteEngine On

# Webalizer
RewriteRule ^/usage(.*) /usage/centurionsecurityvi.com$1 [L]

RewriteRule ^/(.*) 
http://127.0.0.1:8080/VirtualHostBase/http/www.centurionsecurityvi.com:80/centurionsecurityvi.com/VirtualHostRoot/$1 
[L,P]

SetEnvIf Referer "^$" dontlog
SetEnvIf Referer "^http://centurionsecurityvi\.com.*$"; dontlog
SetEnvIf Referer "^http://www\.centurionsecurityvi\.com.*$"; dontlog
ErrorLog /var/log/apache/vhosts/centurionsecurityvi.com-error_log
CustomLog /var/log/apache/vhosts/centurionsecurityvi.com-access_log combined
CustomLog /var/log/apache/vhosts/centurionsecurityvi.com-referer_log 
referer env=!dontlog




Also output of apachectl -S 


printed out the help menu

or httpd -S 


command not found

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] VHM Problem HELP!!!

2005-08-13 Thread Tino Wildenhain
Am Samstag, den 13.08.2005, 22:34 -0400 schrieb beno:
> Hi;
> It's been years since I've posted here. I've been spoiled by having a 
> full-time programmer :) But he's on vacation and I'm screwed :(
> I need to get this site posting to the web but I'm having trouble with 
> VHM. I copied, pasted and edited an entry in our httpd.conf file thus:
> 
> RewriteRule ^/(.*) 
> http://127.0.0.1:8080/VirtualHostBase/http/www.centurionsecurityvi.com:80/centurionsecurityvi.com/VirtualHostRoot/$1
>  
> [L,P]
> SetEnvIf Referer "^$" dontlog
> SetEnvIf Referer "^http://centurionsecurityvi\.com.*$"; dontlog
> SetEnvIf Referer "^http://www\.centurionsecurityvi\.com.*$"; dontlog
> ErrorLog /var/log/apache/vhosts/centurionsecurityvi.com-error_log
> CustomLog /var/log/apache/vhosts/centurionsecurityvi.com-access_log combined
> CustomLog /var/log/apache/vhosts/centurionsecurityvi.com-referer_log 
> referer env=!dontlog
> 
> Then I went to VHM through the Zope interface and followed the direction:
> First box: centurionsecurityvi.com
> Second box: /centurionsecurityvi.com
> and yes, that's the folder. But it tells me "The path 
> /centurionsecurityvi.com was not found"
> What gives? Please help. Waah!
> beno

Copy the output of the complete  directive.
I dont know if its missing or you forgot to copy but
from above there is no RewriteEngine on statement for example.

Also output of apachectl -S or httpd -S (depending on the version
of apache you use) would be helpful.



___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] VHM Problem HELP!!!

2005-08-13 Thread beno

Hi;
It's been years since I've posted here. I've been spoiled by having a 
full-time programmer :) But he's on vacation and I'm screwed :(
I need to get this site posting to the web but I'm having trouble with 
VHM. I copied, pasted and edited an entry in our httpd.conf file thus:


RewriteRule ^/(.*) 
http://127.0.0.1:8080/VirtualHostBase/http/www.centurionsecurityvi.com:80/centurionsecurityvi.com/VirtualHostRoot/$1 
[L,P]

SetEnvIf Referer "^$" dontlog
SetEnvIf Referer "^http://centurionsecurityvi\.com.*$"; dontlog
SetEnvIf Referer "^http://www\.centurionsecurityvi\.com.*$"; dontlog
ErrorLog /var/log/apache/vhosts/centurionsecurityvi.com-error_log
CustomLog /var/log/apache/vhosts/centurionsecurityvi.com-access_log combined
CustomLog /var/log/apache/vhosts/centurionsecurityvi.com-referer_log 
referer env=!dontlog


Then I went to VHM through the Zope interface and followed the direction:
First box: centurionsecurityvi.com
Second box: /centurionsecurityvi.com
and yes, that's the folder. But it tells me "The path 
/centurionsecurityvi.com was not found"

What gives? Please help. Waah!
beno

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )