#apache - Fri 18 May 2007 between 08:56 and 09:14

NY Lost Funds



pctonyq/quir/quite/
zentionRoobarb: what about mod_alias?
Roobarbno, /etc/hosts is re-read by the system resolver libraries on every new lookup
ques2ive got MYIP mydomain.com
MYIP mydomain2.com in there
Roobarbzention: you'll end up with a redirect loop probably
ques2by i still cant access MYIP/mydomain.com
Roobarbques2: restart your browser, assuming you can "ping mydomain.com"
ques2i can access http://www.mydomain.com
thats not a problem
pctonyRoobarb: not entirely true, debian, often needs an apache restart to see the new entries
ques2i just want to access http://myip/mydomain.com for testing
garyHey guys. I have a site which uses rewrite rules in a .htaccess file - this all works great on my site: www.mysite.com. However, I'm working on http://localhost at the minute so I can do some changes before uploading it, but the .htaccess doesn't work. Each rule is from the / directory. In fact, I don't even think .htaccess is being read as if I put garbage in it, it still ignores it
pctonybut hey, semantics :)
garyAny ideas how to get this working? AccessFile is set to .htaccess btew
Plus, I am using apache2 if that helps (on ubuntu)
niqhtaccess use
fajitahtaccess use is If you have access to httpd.conf, there is no reason to use htaccess. You can get a significant performance boost disabling htaccess altogether with AllowOverride None. my RewriteRules will be simpler too!
zentionRoobarb: ok thanks :)
ques2i can access http://www.mydomain.com fine, i just want to access http://myip/mydomain.com for testing
garyniq: But the site will be uploaded afterwards to my site
niq: So I still need to/would like to use .htaccess
ques2and since i am using NameVirtualHost... i guess i need to put something in the hosts file
so will M.Y.I.P mydomain.com and M.Y.I.P mydomain2.com be sufficient in the hosts file?
pctonybe roy
fajita/I have no confidence that this has ever worked.
pctonybe george
fajita[USER] is havening problems with getting on to network,she says she gets nocked of the network.
garyI have: AllowOverride None in my delclaration for /var/www
... fixed it!
thanks
jinkques: create a nameless vhost and put that in from of the others. have its documentroot set to the directory that holds all the sites
quesok thanx jink.. that vhost wont have ServerName?
jinknot really. or make it something like "localhost" or "testenv.domain.com"
whatever suits your needs, really
quesok cool
pctonylate night jerlique?
on a friday too :)
magnus__I am using apache2 as a proxy with mod_proxy. The problem is if one server goes down behind the proxy, a restart of apache 2 is required before apache2 redirects requests to that server again. Is there any way to avoid this (ie have apache2 to always send requests, even if the server was down last request)?
jinkmod_proxy_balancer?

Page: 2 9 16 23 30 37 44 51 58 65 72 79 86 

IrcArchive

NY Lost Funds