#apache - Sun 18 Feb 2007 between 07:54 and 09:49

NY Lost Funds



roninoHello
fajitasalut, ronino
roninoi want to rewrite requests to the website's image dir to a path outside the document root, how can i do this?
niqalias
fajitaalias is http://httpd.apache.org/docs/2.2/mod/mod_alias.html#alias
roninoRewriteRule ^(images/icons/.*)$ ../../web/$1 [L] doesn't work as expected
niq: thx, hehe, they got an example with icons under AliasMatch ;-)
hmm, bad that AliasMatch is not allowed in .htaccess context
jMCgGood morning boys and girls.
veracon_Using mod_rewrite, is there any way I can rewrite a set regexp to (nothing)?
Just doing RewriteRule (blah) is obviously a syntax error.
niq""
__jerry__Just a a question is it possible to have a list of say directories, or projects, which will all get a focus in a loop or iteration, and which all will be treated likewise?
something like <dirs>
<dir name="project1"/>
<dir name="project2"/>
</dirs>
and than iteterating over this dirs element and assinging them one at a a time to say ${focus}
and than going with that paramater to a target?
staticxsourcedoes anyone know what response i would get if i tried to get a webpage from a server that was down. would it be a 500 - internal server error or 404 - not found
gryzornone
you will get a TCP timeout
internet explorer will display a "friendly" crap message such as "the page can not be displayed"
while sane browsers will say server does not respond, or approaching message
staticxsourceohh yes - that was a pretty stupid question wasent it
how can a server respond if it's not running
sorry
fajitaYou will be!!
staticxsourceanyone know how to detect that in php
a timeout
mjecHi guys, mod_rewrite issues, just for a change...
gryzorwell, since php runs on the server itself
mjecI've got a CPanel host, so subdomains are in www/subdomain, I'd like traffic to maindomain.com/subdomain/... to be redirected to subdomain.main.com/... any suggestions?
veracon_staticxsource: Assuming it's from another server, you can use fsockopen
mjec: You could use a RewriteCond I guess
mjecI've got RewriteCond %{HTTP_HOST} !^subdomain but it doesn't seem to be catching
veracon_Oh
RewriteCond %{HTTP_HOST} !^sub
RewriteRule (.*) http://sub.main.com/$1
like that?

Page: 2 9 16 23 30 37 44 

IrcArchive

NY Lost Funds