#apache - Mon 26 Feb 2007 between 06:07 and 06:15



Dr-Hfuhruhurrpctony, http://rafb.net/p/T2DjUT24.html <------ Apache side of log format
pctony_snd: let us know what it is
Dr-Hfuhruhurrpctony, I dunno why it gave 404s
_sndpctony: i have a vhost, which runs jsp pages (resin 2.1), so all .jsp is handled by mod_caucho. My webroot is /mnt/web/aaa and suddenly theres the need to serve requests for /newstuff from /mnt/web/newsite/bbb
pctonyok
_sndpctony: so far so good, html code works finw with aliasmatch for the parts that match ^/newstuff/(.*) and it's pulled from /mnt/web/newsite/bbb/.*
pctonyDr-Hfuhruhurr: you have a copy of the output from a awstats parse?
jink_snd: a regular Alias is fine. you don't need the match
_sndpctony: but, if i reference a .jsp file i get the file not fond error from the jsp server, not apache, and it's referencing the old location
jinkAlias /newstuff /mnt/web/newsite/bbb
Dr-Hfuhruhurrpctony, You mean the stuff that gets dumped on the console, not in the datadir?
pctonyDr-Hfuhruhurr: aye
Dr-Hfuhruhurrpctony, momento
pctonykk
_sndjink: need match, as primarily /newstuff will be served from /mnt/web/aaa/newstuff, but some new parts from /mnt/web/newsite/bbb/newstuff/.*
jinkalias works recursively
rtfm
fajitartfm is your friend :) or Read The Friendly Manual at http://httpd.apache.org/
jink:D
_sndjink: the aliasmach works for stuff that doesnt have any handlers on it
jink: i did rtfm, but the fm didnt mention how alias inteacts with handlers
jinkthat's correct. but the point is that Alias works for sublocations, too
Dr-Hfuhruhurrpctony, http://rafb.net/p/RHyl3N22.html
_sndjink: yes, so i ordered my multiple aliasmatches to take that into effect, so i pick off the specific new parts for the new locatin first, then default one final aliasmatch to the old location for all other stuff, that part works
Randal_63how do you slow people from downloading files on you apache?
pctonyDr-Hfuhruhurr: ok
jinkAliasMatch is for things like: AliasMatch /images/site([0-9]+)/ /www/$1/
pctonyDr-Hfuhruhurr: With data in log file "/var/log/apache2/files.trhosking.com/access.log"...
does nto tally with
CustomLog logs/access.log superlog
not*
Bethanypctony, it was a missing ?> tag, *sheepish grin*
pctonyBethany: that's good
well done
:)
Bethanyi dunno, i still take advantage of the fact that anyone doing PHP would know to put a ?> at the end, but eh...
_sndjink: http://friends.grandiosa.net/~alexh/bbb.txt
coco_kid594what is the proper syntax then for etag directive? is that what slows file transfers down?
pctonycoco_kid594: >>
rtfm

Page: 3 10 17 24 31 38 45 52 59 66 

IrcArchive