@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14



Comments:

<0> -common comes with config files whereas the the other doesn't?
<0> or does -common just happen to use common extensions?
<0> s/happen//
<1> I accidently erase /var/spool/mqueue ... and I see this affects mail system .. what should I do ?
<0> both packages have the exact same description
<0> oh, they're all part of the same package
<2> `echo 1 >> /proc/sys/dev/cdrom/autoeject` before `mount /dev/cdrom` ejects the cd imediatelly. Is this a bug, or autoeject must be set to 1 after mounting the device ?
<3> eeK!
<4> hi
<5> gcb: heanet runs on Itaniums
<5> gcb: They run all the latest everything including Apache 2.2 and hand crafted 2.6 kernels
<5> gcb: I think it's safe to ***ume they can handle >2GB files
<5> gcb: Were you downloading to FAT32 or something?
<6> longword: i thought the advantage of itaniums was in floating-point operations, not so much in integer ops. any idea why they chose itaniums for web servers, given their high cost ? just curious...
<5> toucan: The advantage of the Itaniums to heanet was that they were free
<5> Or close enough to free.



<6> longword: heh, that is indeed an advantage :)
<5> I think they paid less for the boxes than they would have for the memory in the alone
<5> They're not bad mind
<5> Solid pieces of kit, as one might expect for their regular sticker price
<6> yeah
<0> ok, i got ubuntu reinstalled with a new apache install
<0> site is back up on it... but i'd like to ask for some advice before attempting to get multiviews to work again
<4> advice on what sin ?
<0> on how to get multiviews to work :P
<0> the "proper" way with debian
<0> i'm trying to keep my config split up in different sections so that i don't break my site when i upgrade apache
<0> s/sections/files
<0> but for some reason i can't get multiviews to work with it that way
<0> i have DocumentRoot set, followed by a <Directory />
<7> hiya longword
<0> inside <Directory /> are options: Indexes MultiViews and FollowSymLinks
<0> (this all inside of the only VirtualHost container)
<0> there are no other DocumentRoots specified
<0> etc
<7> define what a multiview actually does
<0> just a few script aliases
<0> it allows you to submit urls to the browser without filename extensions
<0> ie you can use www.mysite.com/whatever rather thatn whatever.php
<0> security through obscurity type thing. anyone viewing a given url doesn't know if they are viewing whatever/index.html, whatever/index.php, whatever/index.asp or whatever.php, whatever.html, etc
<0> it works fine on my gentoo server, but i have everything in one single file on it
<7> it has nothing to do with security thru obscurity
<7> the purpose of multiviews is the support of multiple languages
<0> well, i figured it was something to do with that, too
<0> but *i* use it for security
<7> so that when you go to index (as an example) it will pull the appropriate language extention based on browser configuration
<7> well its not gonna work like that, it doesn't do mime magic like your explaining
<0> it was a tip i picked up from php.net
<7> its for language support
<0> mime magic?
<7> mime magic is where it determines file contents by extension
<0> i've been using it for a few years and it does exactly like i said
<0> you don't have to use the file extension and it doesn't show in the browser
<0> all of my pages are linked without extensions, etc
<7> sinthetek by chance do you have a default installation of apache atm? one with the default htdocs dir and all its files?
<0> well, on this ubuntu computer i just reinstalled the entire system and apache
<7> multi views does not interpret the content of a file with no extension
<0> i made a slight modification to sites-enabled/000-default or whatever i think but that's about it
<7> okay look at the htdocs directory you should see a listing of say 20+ index.html.** files
<0> Redragon^ www.mentalcases.net
<0> click on a link in the menu
<0> then www.mentalcases.net:81
<0> and try the same thing
<7> you will notice that each index.html has a different 2 letter extension after the .html
<7> each one is a language representation such as fr for french, en for english, ect
<0> yeah...
<7> that is what multiviews does
<8> How do I get bash to not interpret (( 09 )) as octal? TFM mentions that it does it, but I didn't see how to say what I meant.
<0> well that isn't all it does
<0> and that's not what i want it for
<7> it will read in the index.html.** that matches the defined language of the browser
<0> that's not what i've *been* using it for
<0> the only reason i want/need it is for what i've been using it for
<7> well your trying to do something with multiviews it wasn't designed to do
<7> so i would consider it a hack at best
<7> and I have serious doubts that it will work
<7> if you want simple obscurity this is what i recommend, a proprietary extension



<0> i just told you i've had it working for for years :P
<7> shoot make index.imt and map imt to php interpreter
<0> i learned it from php.net user comments
<7> sinthetek have you considered that at some point there would be a change in apache that would break what your doing?
<0> not really :P
<7> since this is not a supported hack by apache group your always subject to internal code changes that will break it
<7> when you go down that road you always take the chance that someone will close the road without even knowing it by a simple code change in the software
<7> many places i've seen simply use a proprietary extension, though obscurity is pretty moot on a translated page (ie asp, embedded perl, php)
<8> Guys
<8> I've compiled lighttpd on centos but I can't find it anywhere
<3> Hmm... isn`t it in /etc/init.d ? wamty ?
<0> ugh, wtf
<0> my httpd is down
<7> wamty its probably in /usr/sbin/ or /usr/local/sbin
<7> if you did make install after make that is
<7> c--wolf binaries dont go in /etc/init.d, only initialization scripts :)
<3> Hmm... i use to start my daemons from there, but thank you for the hint Redragon^ :)
<7> c--wolf most systems do (cept slackware), those are bash scripts designed to call in special configuration files and execute the binaries in a daemon state
<0> well, i see what you're saying, but it still works on the same version httpd
<0> i dunno
<7> sinthetek if it works on one version and not the upgrade i'd say something changed in the source that broke the hack
<0> i guess i will look at another mechanism, that one was just really convenient
<8> How would I find it?
<7> wamty try updatedb;locate lighthttpd
<8> I did: "wget http://lighttpd.net/download/lighttpd-1.4.11.tar.gz";, "tar -xvzf lighttpd-1.4.11.tar.gz", cd "lighttpd-1.4.11", "./configure", "make", "make install"
<8> it's in /usr/local/sbin
<8> :)
<7> yup if you dont specify a different prefix most source installs in /usr/local/sbin
<7> err prefix of /usr/local anyway
<9> 'morning.
<7> some go to bin and some to sbin depending on what the software is geared to do
<7> hiya danq
<3> Redragon^ : I see, you mean i have only some symlinks in /etc dir then...
<8> do you think find is faster than grep, or is it about the same? like ls -R / | grep lighttpd?
<7> c--wolf the /etc/init.d is a file, the /etc/rc.# is a symlink to the file in /etc/init.d on a modern sysVinit based system
<0> wamty: grep -r would be more efficient
<7> wamty locate is fastest
<7> but you must update the database first
<0> oh wait
<0> didn't know what you were doing, my b
<7> longword you still watchin?
<0> so what were you saying i should do? create my own extensions and make a mimetype for it?
<0> or whatever
<7> sinthetek yes
<7> make your own extension and map it to the translator your going to use
<0> like add .myext to Indexes or whatever it's called
<7> yup
<0> index.myext*
<0> and then application-php line
<0> or whatever
<0> that's it?
<0> application-php/x-httpd
<7> but i dont understand what your trying to make obscure since translated pages (shtml, asp, php, embedded perl) doesn't show the source anyway
<0> or something
<0> well, ***uming you have other precautions in place, it could prevent an attacker from knowing which httpd you're using and/or which extensions
<0> so if they are looking for a specific version of apache or php, they have no way of knowing if it's there
<7> well unless you edit the source of apache they can gain the version fairly easily
<7> same with the source of php
<0> how? generating an error document?
<0> err
<0> erroneous request*
<7> all you ahve to do is telnet into the server to find out
<10> speaking of which, I should turn that off in apache some time
<0> i woulda sworn there was something to turn off version info and stuff in apache
<11> wow i just got a BLUE LED fan
<11> how useless is this?
<11> on a scale from 0 to 10, for instance
<0> but maybe that only works with browser requests or something?
<7> i had a program around here that would pull that up too but can't find it
<0> i haven't really delved into it too deeply in a while
<0> pull what up?
<7> pull up the apache compilation version and such
<10> lol... that's freaking great. Video card blocks the ram on onside, power cables on the other
<0> http://httpd.apache.org/docs/1.3/mod/core.html#servertokens


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #linuxhelp
or
Go to some related logs:

shadow freench
#linux
#linux
#chatzone
#php
kurdsh chat
#networking
#linuxhelp
#c++
12WHO SANG ABOUT DESMOND AND MOLLY JONES?



Home  |  disclaimer  |  contact  |  submit quotes