| Dr-Hfuhruhurr | pctony, http://rafb.net/p/T2DjUT24.html <------ Apache side of log format |
| pctony | _snd: let us know what it is |
| Dr-Hfuhruhurr | pctony, I dunno why it gave 404s |
| _snd | pctony: 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 |
| pctony | ok |
| _snd | pctony: 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/.* |
| pctony | Dr-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 |
| _snd | pctony: 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 |
| jink | Alias /newstuff /mnt/web/newsite/bbb |
| Dr-Hfuhruhurr | pctony, You mean the stuff that gets dumped on the console, not in the datadir? |
| pctony | Dr-Hfuhruhurr: aye |
| Dr-Hfuhruhurr | pctony, momento |
| pctony | kk |
| _snd | jink: need match, as primarily /newstuff will be served from /mnt/web/aaa/newstuff, but some new parts from /mnt/web/newsite/bbb/newstuff/.* |
| jink | alias works recursively rtfm |
| fajita | rtfm is your friend :) or Read The Friendly Manual at http://httpd.apache.org/ |
| jink | :D |
| _snd | jink: 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 |
| jink | that's correct. but the point is that Alias works for sublocations, too |
| Dr-Hfuhruhurr | pctony, http://rafb.net/p/RHyl3N22.html |
| _snd | jink: 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_63 | how do you slow people from downloading files on you apache? |
| pctony | Dr-Hfuhruhurr: ok |
| jink | AliasMatch is for things like: AliasMatch /images/site([0-9]+)/ /www/$1/ |
| pctony | Dr-Hfuhruhurr: With data in log file "/var/log/apache2/files.trhosking.com/access.log"... does nto tally with CustomLog logs/access.log superlog not* |
| Bethany | pctony, it was a missing ?> tag, *sheepish grin* |
| pctony | Bethany: that's good well done :) |
| Bethany | i dunno, i still take advantage of the fact that anyone doing PHP would know to put a ?> at the end, but eh... |
| _snd | jink: http://friends.grandiosa.net/~alexh/bbb.txt |
| coco_kid594 | what is the proper syntax then for etag directive? is that what slows file transfers down? |
| pctony | coco_kid594: >> rtfm |