#apache - Fri 9 Mar 2007 between 17:20 and 17:27

NY Lost Funds



megaspazif using sauce on *nix, doing this stuff seperately is pretty easy...
DrBacchusLeftbrained: Yes, there is.
fartmastri do not know what is broken.
DrBacchusLeftbrained: In a .htaccess file, the current directory is explicitly removed.
LeftbrainedI can get mod_rewrite to work in .htaccess files, but if I try putting it into the main config it jsut doesn't do anything, doesn't even log anything
scoatesx_or: you need an AddType line
LeftbrainedOhhh
DrBacchusLeftbrained: Practically speaking, this usuallymeans that the leading / on a regex needs to be removed.
megaspazyaaaarrrrr!
DrBacchusLeftbrained: It also frequently means that using RewriteBase is handy.
actionmegaspaz beats scoates with an AddHandler stick
megaspazbeats scoates with an AddHandler stick
LeftbrainedSO that strings it's matching against are the full path to the requested file?
DrBacchusLeftbrained: In a .htaccess file, it's usually relative ot the current directory. In the main config, you're comparing the entire requested URI.
OmiKoRnoy, any ideea why apache doesn't gets affected by the ErrorDocument change i did?
DrBacchusLeftbrained: Using the RewriteLog is often amazingly instructive, so far as giving insight into what mod_rewrite thinks you are asking it to do.
megaspazOmiKoRn: you did it wrong?
LeftbrainedI had a .htaccess file in the root directory of one of my virtual hosts, it worked. I moved the same code into my main config, and it didn't work. I even tried putting it into a <Directory /path/to/document/root> directive and it didn't work
I guess I'll read up on the RewriteBase ...
brb
OmiKoRnErrorDocument 500 "The server made a boo boo."
what's so wrong in that?
DrBacchusOmiKoRn: Where did you put it?
OmiKoRnhttpd.conf
fajitahttpd.conf is the main Apache configuration file. By default its located at /usr/local/apache2/conf/httpd.conf or /etc/apache2/httpd.conf /home/httpd/conf/httpd.conf or /Program Files/Apache Group/Apache/conf/httpd.conf or check 'httpd -V'
DrBacchusOmiKoRn: Be more specific, if you would. In main scope? Inside a vhost? In a <Directory> block?
scoates.oO( or AddHandler.. whatever (-: )
OmiKoRnoutside anything
that would be the main scope
NeoThermicHmm, it appears the maker of mod_throttle has abandoned it.
OmiKoRni don`t have any vhosts etc etc.. it's a fresh isntall of apache 2.2.2 on windoze
jmoncayoapachetokens www.jmoncayo.ath.cx
DrBacchusOmiKoRn: Ok, then what I would look for is another ErrorDocument elsewhere that is overriding the one that you specified.
Other than that, hard to say. Perhaps it's commented out? Perhaps it's in an unintentional <IfModule> or <IfDefine> block?
OmiKoRnDrBacchus: did it allready
DrBacchusDid you restart the service?
NeoThermicDrBacchus: you know of any alternative to mod_throttle? :\
DrBacchusDid you clear your browser cache?
OmiKoRnyeah
DrBacchusfajita: bandwidth
fajitaDrBacchus: bandwidth is see netnice mod_bandwidth mod_throttle mod_bwshare mod_cband mod_bw mod_tsunami mod_evasive or mod_limitipconn or please share your experiences with any of these

Page: 1 8 15 22 29 36 43 50 57 64 71 78 

IrcArchive

NY Lost Funds