@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2



Comments:

<0> brb, let me pull the httpd.includes file...
<1> now, if i were to guess, what you've said means your urls are super horrific, e.g., http://whatever/site1.com/page and http://whatever/site2.com/page instead of http://site1.com/page and http://site2.com/page.
<1> would that be correct?
<0> no
<1> so the latter are the url's?
<0> my sites are www.site1.com/page.htm and www.site2.com/page.htm
<0> where page.htm is the same file for both sites
<0> <VirtualHost 64.151.98.154:80>
<0> ServerName site1.com:80
<0> ServerAlias www.site1.com



<0> ServerAlias site2.com
<0> ServerAlias www.site2.com
<0> UseCanonicalName Off
<0> DocumentRoot /var/www/vhosts/site1.com/httpdocs
<0> </VirtualHost>
<1> that says that site2.com/page.htm will be taken from /var/www/vhosts/site1.com/httpdocs/ -- not from .../site2.com/httpdocs/.
<0> excatly
<0> so now, how do i say block IP 0.0.0.0 from www.site1.com/page.htm but allow www.site2.com.page.htm ???
<1> now, wait.
<1> you explicitly ignore the site2.com directory, everything comes from site1.com's?
<2> i'm freaking out man
<0> yes, all files are pulled from /var/www/vhosts/site1.com/httpdocs/
<1> SAC_Admin: so, why are you bothering to discuss site2.com's directory?
<0> im trying to keep it simple now, you dont want me to break out the tomcat again do ya :P
<1> *shrug*
<1> good luck.
<0> okay, let me try this then...
<0> i have file /var/www/vhost/site1.com/httpdocs/page.htm
<1> apache can only apply controls to the directories from which *it* will fetch content.
<1> so site2.com/* is worthless to discuss.
<0> both www.site1.com/page.htm and www.site2.com/page.htm req that same file
<0> then make /var/www/vhosts/site1.com/httpdocs/.htaccess
<0> that would do this.....
<1> but, since you won't believe that <virtualhost>, <directory>, <location> or an access file will work, or worry that they will each fail, i cannot see how to help you, so to save my sanity and yours i'm going to run away.
<0> if IP 12.12.12.12 req www.site1.com/page.htm he would be deny
<0> if IP 12.12.12.12 req www.site2.com/page.htm he would get it
<0> as far as i know, location and directory only work on paths, not domains
<0> is this valid <location www.site1.com> deny IP </location>
<0> i thought only <location /page.htm> deny IP </location> was valid
<2> .apachedoc location syntax
<3> location(core) syntax: <Location URL-path|URL> ... </Location>
<0> the URL to be matched is of the form /path/, and you should not include any http://servername prefix
<2> want to see something?
<2> http://camera.touchngo.com/alaskacam(r).jpg



<2> its 11:09 pm
<0> that is what the apache docs say about the <location>
<0> the URL to be matched is of the form /path/, and you should not include any http://servername prefix
<1> turn off the lights!
<2> heh
<0> twkm, okay treat me like a moron and spell it out for me, how would the <location> block look
<0> Should i offer a bribe?
<4> re
<1> err
<1> damn, no ban exemptions, and /invite doesn't avoid x. pffft!
<1> sorry about that, usually it is a quite effective ban.
<5> yeh, i knw its becuz of the "3" that i have inmy nick, :))
<5> loll
<1> lots of bots come where that match *3?!*@*
<5> yeh
<6> Good evening.
<7> .dict giga
<3> No definitions found for giga
<7> p`u: ?!
<8> Hi Friends, I setup my apache VHOSTs and it's working great for the three domains that I'm hosting (my client's and mine). But when I go http://ip it opens one of the my clients website. Is there a way to apache handle the http://ip and forward it to my domain?
<9> i tried to add alias to httpd.conf and i entered Alias /movies "F:/" and i restarted apache but it is not working and returns 404 not found , is something wrong , iam using winxp and apache 2.0.58
<1> B-Ware: what does your error log say about it?
<1> DanielCyt: put your domain first.
<8> twmk: Im usign /Includes/domain.com.conf - How can I put it first?
<1> i have no idea what you mean by that.
<8> All my domain VHosts are on /apache22/Includes/domain.com.conf, let's say domain1.com.conf domain2.com.conf domain3.com.conf
<8> how can I put my domain first?
<1> name the file so that it is first.
<8> hmmm
<8> damm! keep it simple!
<8> it works! Thank you VERY MUCH
<9> [Tue Jun 27 22:39:46 2006] [error] [client 127.0.0.1] Directory index forbidden by rule: F:/
<9> that's what error.log says
<1> B-Ware: so, you don't allow apache to provide an index automatically there. fix that.
<1> .apachedoc options url
<3> options(core) url: http://httpd.apache.org/docs-2.0/mod/core.html#options
<10> Hello
<10> how can i open safe mode for just a user in httpd.conf?
<11> Apache has no 'safe mode';
<10> Safe Mode = On
<10> in my conf
<10> We have to use it like that
<10> But a customer wants to use in safe mode as off


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #apache
or
Go to some related logs:

#AllNiteCafe
#php
#MissKitten
#squid
#MissKitten
#gentoo
Adds-on for Minefield
#chatzone
#linux
adult assembly required tvtime



Home  |  disclaimer  |  contact  |  submit quotes