che*
this works on apache2, but my production server host is 1.3
which is very unfortunately annoying
1.3 uses the older posix regexen but i don't see anything in
your rules which should fail.. about the \, do you mean to
specifically allow that?
any help guys
what?
also, given that you're sending /page/whatever to /page.php,
you'd be better off using AcceptPathInfo On & Options
MultiViews than mod_rewrite
i don't see any "\"
it's there in your rule as clear as day
i thought \ is to escape the /?
there's no need to escape / in regexen
ok
unless you're using perl and /
is a delimeter
I have a domain
host name how doi add it to the website running on my
server?
your question is too vague to answer. have you tried reading
the manual at all?
isn't acceptpathinfo a apache 2 thing?
noodl, I cant see antthing telling me how to add my domain i
bought to my website running on my home server.
so it is.. iirc it's on by default in 1.3
that's probably because you don't understand the question you're
asking. what have you tried so far and in what way didn't it do
what you expected?
noodl i donwload the Phpnts but i think the apache non-ssl
isn't compatible with him
i'm right?
i suggest if you're a complete newbie at this...
you start learning how making your own server works
how the internet works, etc. etc.
eh? that's Phpnts?
noodl the problem is i try to config a script to make a
connection SSH
you'll have to learn a bit of DNS and routing too
so i download php php web
hosting 5.2.3 Non-thread-safe Win32 binaries [9,523Kb] - 01
June 2007
http://www.php.net/downloads.php
http://www.pcstats.com/articleview.cfm?articleid=1868&page=1
all this is ok
this is a good beginners article... but you may have to read
up much more than this
pressingonalways, Well i set up mysql
hosting apache2 php and have a website running that i can
view on 127.0.0.1 all i want to do is allow others to view it with
the domain name i bought
now when i config the php the apache return me error when try
to work with the php_ssh2.dll
ok seriously.. lol.. say i have a round robin DNS and it
points to multiple servers.
i think the apache isn't compatible with this PHP
did you have a question about apache, rather than php?
read the article...
noodl the question is about APache
and do not come back to us with any questions until you have
read every single page
Pitoniso, php
host work fine with apache
Why i have a error when try to work to the php_ssh2.dll
what's php_ssh2?
noodl just a minute enter here http://www.php.net/manual/es/ref.ssh2.php
noodl just a minute enter here a href="http://www.php.net/manual/es/ref.ssh2.php"http://www.php.net/manual/es/ref.ssh2.php/a
pressingonalways, xp ouch i dont touch ms
i have no clue what you're doing... but PHP doesn't have
anything to do with ssh
keep reading... the principles are all the same
no, sorry. please try asking on ##php.. this isn't an apache
question
fu... noodl men only a asking a little help here pls!!
i'd rather not have to reach for my banstick but you're pushing
it.. how to configure php to access ssh servers is
clearly a question about php, not apache.
noodl uff ok sorry
my apologiz
k
my english is sucks i speak spannish
there are at lesat two spannish speakers on the channel at the
moment so you're welcome to try asking in your native tongue, as
long as you have a question about apache
noodl jaja better i think my questin before sait
noodl
yes Pitoniso?
noodl jeje pls be paciencia with my
ok, i'll try
ok thx
look this line in my conf apache
LoadModule php5_module "C:/Servidor/PHP/php5apache2_2.dll"
When i decoment this line the apache gifme a error
no StarUp
what is the error message?
which version of apache are you running, and which version of
windows?
Show me a Windows say this The request operation has
failed!!
This happend with the PHP 5.2.3 Non-thread-safe Win32 binaries
[9,523Kb] - 01 June 2007
When i agree in my php.ini this ext extension=php_ssh2.dll
which version of apache are you running, and which version of
windows?
2.2.4 Non-SSL
noodl when i install this other version
PHP 5.2.3 zip package [9,617Kb] - 01 June 2007
and i agree the line extension=php_ssh2.dll
in my php.ini
The Apache say I don't find the specifc module
does mod_php load ok without that extension?
so i install the first version i show you..
if i comment the line extension=php_ssh2.dll in my php.ini the
apache work fine
noodl ooo no no
Dont work anyway
one moment Pitoniso my client's being wierd
noodl now i comment the line #LoadModule php5_module
"C:/Servidor/PHP/php5apache2_2.dll"
noodl ok sorry
ok, so php just doesn't work at all, regardless of whether or
not you load this ssh module?
noodl i need this version of php webhosting to work with
the dll to make ssh connection
but apache dont work with him
i dont know why
neither do i. have you tried asking in ##php?
step zero
step zero is to insert a linux hosting or BSD
CD
noodl thx man
step infinity
step infinity is to kick henke37
and step pi is to raid niq's kitchen
mmm
mmm, bacchanalian fruits, doctor
tag can't I use AddType text/plain .c .cpp to show these
sources as plain text in a browser?
utag can't I use AddType text/plain .c .cpp to show these sources
as plain text in a browser?/u
can't get it to work....
how isn't it working CaptainMorgan?
url?
tell us a URL where the problem happens
noodl, it's asking to download the source
browser cache
Browser caches can be very persistent. Restarting the
browser, or even rebooting, will not necessarily clear the cache.
You must expressly clear the cache via the menus.
bah
humbug
thansk
:p
back to .th in a week =D
aaargh! itsa Morbus
mmm, spicy noodls!
like you wouldn't believe
oh and i get to go back to the dentist that screwed my mouth up and
get it fixed
kea was 100% right that attending the dentist when you've not
got any dental problems would be a mistake...
heh. take local advice
Hey. Is there a straightforward way to set up Apache with
ssl
hosting on a winDOZE box?
I'm a nube.
mm, if i took local advice i'd be fit and healthy from eating
all that fruit
some habits die hard
you'll need to get it from elsewhere as i don't think the asf
publish a precompiled server with ssl for doze. try
apachelounge
apachelounge is Dwww.apachelounge.com and has Windows binaries
of a number of modulesLhttp://www.apachelounge.com/download/
to get directly to the download page.
Sweet, thanks.
Later.
thinking about maybe writing mod_vhost_dbd. typically such
modules are restricted to setting DocumentRoot by
Server(Name|Alias).. couple of questions.. do they create
server_recs at runtime or piggyback on a single server_rec? if not,
would there be any use if having an alternate mode that created
server_recs from the db at startup?
*in having
if it's lots of vhosts, then a different server rec for each
would be too expensive
unless perhaps we had some deepish hack to hold server_recs in a
hash
the low hanging fruit is just porting mod_vhost_dbi to use
apr_dbd
yeah. bug chipig about that
but i'm wondering how it might be possible to allow for
fairly arbitrary config directives
presumably not at all at runtime, so maybe by faking the config
file from a db at startup? not sure if there's any advantage to
that over just scripting the creation of the config file in
apachectl
well, I'd start by looking at hashing server_recs
or even replacing server_rec with a functional interface, so
your module could create a separate instantiation of it from the
trad. one
anyone else got boxes there? texas DC is down..
that's way over my head lemme finish reading your book
that's closer to the apache core than anything my book teaches
you
Anyone know why a handle leak occurs when using
apr_thread_create and a detached thread on windows?
but the crux of what you want is how you deal with the
server_rec
nope. Maybe you need to register an apr_pool cleanup? Or try
#apr.
hey there ...!
i was wondering if a debug mod is available on apache for
rewriteEngine ...
i checked google but nothing interesting
rewritelog
rewritelog is http://httpd.apache.org/docs-2.0/mod/mod_rewrite.html#rewritelog
http://httpd.apache.org/docs/mod/mod_rewrite.html#rewritelog.
Use this logging to help design and track rewrite; see also
rewriteloglevel; and cannot be used from .htaccess
ok thanks
stop it already
i've been back what, all of 2 minutes
if i've followed the script at all server_recs are created at
startup and pointed to in request_rec before the post_read_request
hook and shared by all threads (when they're present). so could a
module create a server_rec from the db and use that to replace
r-server?
good luck with thinking through the implications of that:-)
but there are lots of resources on the server_rec, so that's a
lot of copying. Can you keep that down to just copying pointers
without arriving straight back at square one?
ubut there are lots of resources on the server_rec, so that's a
lot of copying. Can you keep that down to just copying pointers
without arriving straight back at square one?/u
but if you can crack that, you've made a big advance in one of
apache's main markets.
where square one is just funging the doc_root in the present
server_rec? good point
No! gryzor is to blame!
fajita++
actually ... you could get away with something like that
...
where does DocumentRoot live? r-server-module_config?
nope
can't see it in httpd.h
goto its docs page for who is responsible for it
or grep around it:-)
hi all
All is not in today, steinchen
i want to prevent one directory index to be listet from browsing
to - but the files inside (html/php/swf) should still be accessible
when you know the url. any directive in the conf or htaccess
?
Options -Indexes
Options -Indexes turns off directory indexing. Ask me about
mod_autoindex and Options for more details.
ty. can i place that in a .htaccess aswell?
yep, if you've got AllowOverride Options set
got that.. hows the syntax please?
tired for rtfm, sry
reading
There is no difference between someone who cannot read and
one who will not.
:p
that's a nice one
doing already.. thanks again
worked ty
Hi gryzor
Hello, I have a webserver that uses an iframe, as well as
IndexOptions, and lists files.txt. I need to know if it's possible
to format a txt document so that when someone clicks on it, it's
not black text on a black background, any solutions?
you cant
:s
it delievers the file as text/plain, the browser reders
it
ok
figured there might be a module, or an httpd.conf directive
hi
hi, Antony1122.
i need a little help
ask to ask?
ask?
If you have an apache related question, please go ahead and ask
it. We will not beat it out of you. We won't bite you either, at
least until we get to know you better
whats the console address?
for apache
127.0.0.1?
127.0.0.1 is Ayour address. Works fine for testing if you don't
have a real IP%domain name. Also known as localhost
console? as in telnet? apache doesnt have a console
because it seems the only way for me to update it is through
the program files
no, like a control panel
apache doesnt have one itself
third parties may distribute them
do you know of any free web servers that come with a
console?
to control it from a remote location
why?
because, heres my problem
any decent console system is not goin to be free, and even the
expensive ones suck
i have 4 different computers in my house
and reguarly update my website
although i usually update it on the computer that doesnt contain
the server
and was wondering if this is something i could come by?
you dont need to mess with the server to update the files it
serves
how would i upload new files to it remotely
ftp?
ftp is a rather insecure protocol primarily used to announce
your shell password to the world. or better replaced by
ssh/scp/sftp in most cases or mod_dav in other cases a cause of "No
such file or directory" in CGI scripts, if you transfer as binary
with DOS lineends
how do you update them now?
because the way im doing it is, signing on a different msn
account on the other computer
and dumping them into a shared file
what OS is the server?
then copying over the files
its on XP
use windows file sharing then
or setup an ftp server
how do i set up one of them?
the web server is not responsible for managing the content it
serves
RTFM
RTFM is your friend or Read The Friendly Manual at http://httpd.apache.org/
whats RTFM?
RTFM is your friend or Read The Friendly Manual at http://httpd.apache.org/
hi guys. does anyone know about setting up apache with the
svn module so i can browse repos in websites?
how old are you?
18
you dont need to set that up unless you are serving the repos
your self. in which case, read chatper 6 of the book
i can tell
missed a decimal point 1.8
lol
i am running fc6, and am getting a 403 error... i have the
owner of the repo (/svn/repo ) set to apache
what does the error log say, exactly?
www.example.de/asfd)
hi
hi, DHX.
read chapter six of http://www.svnbook.org/
Redirect
use .htaccess
I have RewriteRule ^/*$ but this only seems to match the root
(/) of the server
wrong
msp ^/.*$
ok, im wrong, im young lol
ah ok cool thanks a lot
how do i set up a FTP between computers?
age has little to do with it, experience more
all your computers are windows based?
yh
step zero
use windows file sharing then
step zero is to insert a Linux or BSD CD
hes not ready for linux yet
wheres that?
so the /* would have matched ///////// and the . looks for every
possible char?
wow
[ Dene] Hi, I'm trying to get php running for Apache 2.2, Win
98se...
mps yeah
ok thanks
at least its not windows ME
I have a rewrite rule that proxy all request to a zope server.
Yet I want that when you do a request on http://host/php/page.php (a page in
the dir php) you access the page /home/www/page.php. I know I have
to use a ScriptAlias fr that, but I'm just wondering if I have to
indicate in the rewritecond to do nothing if the url match
^/php/(.+)
how do I get ssl logs in my error log? I used to use SSLLog
but that appears to be depricated and my errors say see SSL
log
I mean is the scriptalias tried before or after the rewriterule
?
where is windows sharing?
handler?
handler is a program that runs on the server to generate
content
gimmie a link you stinky bot
a good question now is why are you trying to run a web
server?
to host my site for free without ads
good luck with that
like geocities, massive ads
free hosting is impossible these days
i know, loads of adds
you either pay cash, or in time spent reading how to admin stuff
yourself
but cheap, good hosting exists
dreamhost.com
sweet shit if you want to shell out the money
which is barely anything if you have a job
i get these errors: Could not fetch resource information.
[403, #0]
The URI does not contain the name of a repository
is it possible to alter REQUEST_URI (specially using
mod_rewrite) ?
[403, #190001]
verbatim
Verbatim means "word for word" "copy and paste". It means we
want the exact error message from the error log. That also means
use a pastebin for 3 lines. Ask me about 'apc' for which pastebin
to use.
blarp
blarp is see sneex
that looks like a svn error.
how would i change txt files from being sent to browsers as
text/plain
i want them to be sent as text/html
what are you trying to accomplish here?
so my css rules will format them to the appropriate color
im getting black text on black bdkgrd
they would have to have the css include line inside the file as
well
is it okay that the repo is at /svn/repo instead of in /var/www
etc
?
the repo can be anywhere EXCEPT in the DocumentRoot
imMute, how about Handler
they would have to have the css include line inside the file
as well
every text file thats clicked, gets sent to a cgi/perl
script
formatted
then sent back to their browser
?
so clicking on a text file gets you to /script.pl not
/file.txt ?
mod_txt
niq, are you serious
of course
imMute, yeh, script.pl with the txt file as the
$ENV{'QUERY_STRING'}
it would work
but i think niq's suggestion is worth looking at first
so have script.pl output the correct header and css style
info
brb
wth
wth is Sager
i just got mod_txt
its a single .c file
with nothing for help
it just has the httpd.conf directives....
how would i install it as a module in apache?
apxs
apxs is for building modules as DSOs, and is put into the Apache
/bin/ directory by 'make install' or http://httpd.apache.org/docs-2.0/programs/apxs.html
or for debian, called 'apxs2' for windows, see: http://perl.apache.org/dist/win32-bin/
got it built and installed
playtime
Why would you want to mod_deflate only certain MIME types?
Is there some sort of downside?
besides the wasting of cycles compressing already compressed
files?
AddOutputFilterByType DEFLATE text/html text/plain
That's what I have.
yep
Should I not add GIF, JPEG?
you want to compress jpeg ??
And RAR and ZIP etc.
why would you try to compress an already compressed
file?
Dunno. I want as little bandwidth to be wasted as possible.
Wow...
[ polpol] is there nicer program than nice; when i try copy
something like movie my comp almost freeze... nice -n 20 cp
...
those files aren't gonna compress anymore
"troll" is being abused every fucking day whatever you say.
gryzor must be smelling himself.
as a matter of fact there could be times when compressing an
already compressed file will make for bigger output
Hmm.
What other non-compressed MIME types could there be?
mostly text files
i'll remain cold blooded, since after all, i somehow started
it
That's already covered by text/plain.
i dont have to though
:o
Maybe XML for RSS feeds?
you need to be careful of msie not supporting compressed
js/css over a certain size
That I definitely want to compress.
i don't remember the details but it's geborkened
probably
probably is the same as 'definitely not' when dealing with
important or critical applications - if you're not sure, don't let
'probably' suffice
xml, html, source code files (except js files)
plain text
you could possibly do raw images
Wait... aren't .js and .css both served as text/plain?
if you had raw images...
they might have their own mime type
not sure though
they do but they're typically wrong
Are they supposed to have their own MIME types?
i've got compression on those disabled...
according to a recent standard javascript should be
application/javascript or application/ecmascript but no browsers
support that
typically they're text/javascript and text/css respectively
Why do you say it's bad to compress those files?
msie has a bug with compressed js files
it's not, but msie will barf
Oh, great. I thought at least HTTP stuff was done right in
MSIE.
it's not
:P
:|
God damn MSIE.
Costing me money in every way.
MSIE is like a black hole sucking in time, energy and
money.
wasnth there some sort of content length issues with mod_deflate
and css's?
yeah, it only decompresses the first n bytes or
something
mod_txt failed
niq :/
what a headache that was
http://apache.pastebin.ca/565156
anyhow thanks for trying to help
According to Firefox, my Apache sends .css as
"text/css".
that's the config i use
I cannot tell about .js.
usually those files are tiny... compressing them may or may
not matter much...
Hmm.
problem is with the frickin' browser bugs...
Hi, I have a problem where sendmail causes double mails,
anyone has an Idea?
#mta
ask in #sendmail?
Why can't browsers AT LEAST get HTTP 1.1 implementation right?
Isn't it enough with HTML, CSS, JavaScript, DOM and OS/version
bugs?
can mod_rewrite alter REQUEST_URI ?
thats what it does IIRC
ths script still get the original REQUEST_URI
not the altered one
then maybe its not being altered?
it is
just need to pass the altered REQUEST_URI to the script
Hi, I've a Q about proxying; is it possible to get a client
to connect to the proxy (apache 2.2) using https in order to access
http servers (i.e., not using https)?
yes, easy
forward or reverse proxy?
noirin, forwars
forward
name
be quiet
shutting up
should still be straightforward
I've added "ProxyRequests on" to the VirtualHost env...
http://httpd.apache.org/docs/2.2/mod/mod_ssl.html#sslproxyengine
yeow!
maybe. not sure what that directive does
proxyrequests on
proxyrequests on is a big security risk. Don't do it unless you
understand exactly why (it's explained in the mod_proxy
page)
wrong direction, thats for reverse proxying to SSL
backend
k. spunk, talk to arreyder
I've tried using FF 1.5 to connect to the proxy, but it seems
that it tries to talk http to the proxy when I access a
http-server. It seems that it uses https when I access a
https-server though...
arreyder, ok
he just needs a virtualhost with ssl properly configured and
proxyrequests on
tell the client to use https://myproxyip/ for http
requests
arreyder, yes, that is how I've configured apache. the Q is
how to config. the client...? Im using FF 1.5...
sounds good in theory
arreyder, tried that but it spits on me. :-)
whats the error?
motd
If there's anything more important than my ego around, I want
it caught and shot now...
arreyder, wait a sec..
that a Beeblebrox quote?
mmhmm
sounded like him
arreyder, Ok, now I can access servers but Im not sure if FF
uses the proxy... when I go to "checkmyip.com" I get the client's
IP...
I think we may have to do this via about:config one sec
arreyder, ok...
hmmmm, I dont think the boys and girls over at the mozilla
foundation intended for this to happen :/
you could still pull it off though with stunnel
start and stunnel listening on your local machine that connects to
the SSL proxy, then define your proxy as http://localhost:someport
that'll do it
arreyder, ok. thats a shame. :-( Im not familiar with
stunnel. do i need something on the proxy box to make it
fly?
arreyder, ah, ok.
nope, it just handles the SSL part of the connection
stunnel that is, firefox doesnt seem to want to let you build up
the tunnel, so we'll cheat
arreyder, ok
should be very simple kinda similar to ssh port forwarding
and wil give you the results you are after
arreyder, yes :-)
arreyder, I might post a request in some mozilla.dev-forum or
whatever...
yeah, I dont think what you want to do is unreasonable
I do what you are doing, but I do it ssh portforwarding to the
proxy I use
arreyder, are you by any chance familiar with FF's extension
API? do you think an extension can add the functionality
needed?
same reason, I want to hide my http traffic from thse pesky
network admins at work
arreyder, :-)
way out of my league, sorry
arreyder, ok
of course I am the pesky network admin I'm hiding from, so I
still get caught :/
arreyder, hehe!
arreyder, thanks a lot for the help anyway! I'll move to some
.dev-forum and post a req.
Bye all!
np good luck
something weird is going on. my site on apache is not accessible
only from users using firefox idk why. i tried on explorer the
message with page could not be displayed appears
what's the last lone of the error page in msie?
and have you checked apache's logs?
noodl, i didn't check logs no
*last line
what does the error log say, exactly?
arreyder, Im back. :-) which version of FF did you try?
lemmie seee
2.0.0.3
on linux
Ok.
I've just installed FF 2.*.4 on Win
And now I can get through at all.
through the proxy that is
using http?
apache is confd to not listen to port 80 at all...
no, trying https
are there any way to log proxy reqs in apache?
it let you specify https for the http proxy?
it should log them to access_log
well, I type https and give port# 443...
ag..
ah.
when I looked at the vales in about:config it looked like it
was dead set on using http
values
ok
what is the name of the conf. line?
I just searched for proxy
ok
noodl, in IE it says "Could not find the server or DNS Error"
and in apache logs there are no errors
then the server does not resolve.
make it resolve.
thumbs, it should be since it works with FF
are FF and msie running on the same box?
nope
then one box has a working DNS setup, and the other one
doesn't
noodl, i tried on my MS box
so each box has a different view of the address you're using.
which is?
noodl, and also it doesn't work with the real ip on IE same
error
what is the DAMN hostname?
servertokens compengi.kicks-ass.org:8080
Apache/2.2.3 (Ubuntu)
dns compengi.kicks-ass.org
compengi.kicks-ass.org is 85.112.66.238
does that IP work in both machines (85.112.66.238) ?
and use different browsers on the same box.
thumbs, both boxes are on the same internet but one is running
linux and other MS
that does not answer my question.
thumbs, then what do you mean
I meant what I said.
does that IP work in both machines (85.112.66.238) ?
and use different browsers on the same box.
thumbs, what does "that IP work in both machines" mean
exactly?
connect to the IP using your browser.
thumbs, i tried as i have said
thumbs, same result
try with FF on wintendo.
arreyder, the proxy implementation in FF seems just wierd...
when i typ https://proxy and port#0 it
just ignores the proxy settings. If I dont type https but port#443,
apache replies that I should not talk http on the https port (which
is correct). If i use https://proxy and
port#443 then FF says that the target server could not be
found...
thumbs, on my pc and other friends running linux or FF
especially because i don't know any person running FF on windows my
site opens but when it comes to MS or IE it doesn't only 1 friend
that uses IE7 my site opened as i was told
putting aside the fact that your sentence gave me a headache,
I want you to try this SIMPLE THING.
on the computer where IE is erroring out, install Firefox, and
see if it loads under it.
thumbs, and if it does?
then IE is broken.
thumbs, and all people's EI are broken then?
not really. The site seems to resolve fine from fajita's
point of view, which leads me to believe that most people can
access it just fine.
eee eye eee eye oh
thumbs, same thing that i'm thinking off and astonished why it
doesn't.
I told why it happens. Why can't you listen?
thumbs, you told me that IE is broken but when you come to a
fact that it's not just 1 single pc to say that maybe the problem
is in it's IE. i tried several pc's none worked
it works from here.
check your DNS server, and make sure it resolves the
hostname.
thumbs, you us IE?
use*
no , I don't use wintendo.
me either
did compengi say what the url was?
he did
dns compengi.kicks-ass.org
noodl, compengi.kicks-ass.org:8080
ph, thought maybe there'd be an underscore in the name. there
goes that theory.
compengi.kicks-ass.org is 85.112.66.238 which is my real
ip
so the server is running on your LAN?
thumbs, yes
then add the hostname to your hosts file.
thumbs, i did
with the LOCAL IP
NOT THE EXTERNAL IP
yeah i know
then it'll work locally.
unless you messed up your hosts file.
make sure you're using http:// in the address
msie doesn't assume that for odd port numbers
noodl, i took that into the consideration too
ok, well for me msie barfs on that address without http://
but is fine with it
noodl, are you using IE7?
not right now. xp hosed by vista boot loader
noodl, so on IE6 and the site loads
yep
noodl, weird, i tried on several pc it didn't
pcs*
i'm running feisty with apache 2.x, where does the
/var/log/access.log get referenced in a config file?
tell ubuntu-rocks1 about grep
grep
grep is an extremely useful tool. If you want to learn anything,
acquaint yourself with grep and grep for it
ubuntu-rocks1: ^^
tell megaspaz about debian
heh
tks guys, anyone here run nagios?
ubuntu-rocks1: ask your question already.
okay thumbs and noodl thanks for you help
ok.
that was the question. i want to install on a production box but
want to know if i can turn it off at will in case of performance
issues
ubuntu-rocks1: read the documentation that comes with
nagios.
tks
ubuntu-rocks1: sorry, but no, nagios cannot be turned off
ever. It will ruin your hard disk and kill your family if you do.
It's a very revengeful beast.
yango++
haha
+1
very funny indeed
ok, does anyone here use apache synapse in a production
environment?
ubuntu-rocks1: do you ever read documentation?
yes, i just want to see if other folks use this, thats
all
I have a question...
ask!
If you have an apache related question, please go ahead and ask
it. We will not beat it out of you. We won't bite you either, at
least until we get to know you better
I have a collection of airline sick bags..
I'm on a LAN network using a linksys router, so we each have
the 192.168.1.XXX IP's. I'm running a server on one of the
computers and want it to be accessible by the internet or anyone
else outside of our network.
router
In order to access your web site behind a router, you must
forward the port apache is listening on to your internal IP. Then
you can access your site by pointing your browser to http://your external IP here:port. If your ISP
blocks port 80, see 'port 80 redirection'. Instructions on how to
forward a port using most common routers can be found at http://portforward.com
i'm fairly new to ubuntu and irc so i do apologize if my
questions are silly. you guys have been most helpful in the last
couple weeks
add the local IP of the box and the hostname to each hosts
file on the LAN computers, too
what exactly is a hostname?
it
how is it different from a URL?
it's the name of a host.
how do i get people over the net to view my website
I'm still trying to solidify my networking terms; i'm a
newbie
you tell them the URL.
router
In order to access your web site behind a router, you must
forward the port apache is listening on to your internal IP. Then
you can access your site by pointing your browser to http://your external IP here:port. If your ISP
blocks port 80, see 'port 80 redirection'. Instructions on how to
forward a port using most common routers can be found at http://portforward.com
^^
you probably are behind a router, so read what fajita just
said
can someone do me a favour and see if you can browse to
www.nagios.org. i can't seem to access it. tks
servertokens www.nagios.org
Couldn't get a useful value for http://www.nagios.org
apparently not.
ubuntu-rocks, I can't access it either.
how come i don't see "servername" in my apache2 file
crap. i'm trying to view the docs and install on a test
box
you'll need to clarify on that.
what are you trying to do, exactly?
add my ip to "servername" in apache2
i don't see it though
website is back, hurrah
I fail to see what 'Add my ip to "servername"' means
again, what are you trying to do, exactly?
well when i used regular apache i had to add my ip to
servername so that poeple could view my site
apache2 i don't see it
...........................
do you know how the DNS system works?
no
obviously.
i only have my notes from last time i set it up
are you looking for the location of the ServerName directive
on a debian-based system?
configure apache to use your hostname in your vhost.
forget about the IP.
oh wait i see now
im supposed to do this in httpd
the nagios quick start docs is for ubuntu 6.10 (desktop) and
i'm running feisty, does that matter?
ubuntu-rocks1: try it?
sigh.
hehe, tks
what distro are you using?
debian
debian is "we complicate it for you so you don't have to" or see
/usr/share/doc/apache*/README.Debian* or http://wiki.apache.org/httpd/Platform/DebianLike
default layout
Pop along to http://wiki.apache.org/httpd/Info/DistrosDefaultLayout
for an idea on where the main distros place Apache files.
hey my httpd.conf is blank
read above ^^
ubuntu-rocks, there might be a nagios irc channel that are
more suitable for such questions.
well, that's your problem, hailviral.
read above ^^
why would it be blank
default layout
Pop along to http://wiki.apache.org/httpd/Info/DistrosDefaultLayout
for an idea on where the main distros place Apache files.
i never touched it
READ THAT FACTOID NOW.
because you're using debian.
read the above links
dammit
spunk - indeed a nagios channels exist!
no, hailviral has many more issues.
i used redhat 9 before this
not used to this
start reading the factoid now
hi
oh no.
how do i change the configuration for apache to MaxClients 1024
on debian
how can i block access to files/directories matching a
pattern?
you edit the configuration files.
filesmacth
huh?
filesmatch
filesmatch is http://httpd.apache.org/docs-2.0/mod/core.html#filesmatch
or http://httpd.apache.org/docs/mod/core.html#filesmatch
deny
deny is http://httpd.apache.org/docs-2.0/mod/mod_access.html#deny
or http://httpd.apache.org/docs/mod/mod_access.html#deny
or http://httpd.apache.org/docs/2.2/mod/mod_authz_host.html
^^
default layout
Pop along to http://wiki.apache.org/httpd/Info/DistrosDefaultLayout
for an idea on where the main distros place Apache files.
thanks
look there please ^^
and no need recompile apache
no need recompile apache.
if i change only on httpd.conf
i basically want to block all access to .svn directories... this
the best way?
read the default layout lini, Now.
use directorymatch instead
tnx thumbs
this would also block everything under it?
yes.
if i place this in an htaccess file, would it apply to the
entire site? even though there are multiple directories in
subfolders?
works for me
the htaccess is recursive.
however, edit the config instead, if possible.
thanks... have any doc links for directorymatch?
directorymatch
directorymatch is http://httpd.apache.org/docs/2.2/mod/core.html#directorymatch
or http://httpd.apache.org/docs/mod/core.html#directorymatch
directorymatch context
server config, virtual host
you'll have to use the config however. It does not run within
htaccess.
but filesmatch does?
filesmatch context
server config, virtual host, directory, .htaccess
filesmatch override
filesmatch override is allowed in .htaccess files if
AllowOverride is set to FileInfo
indeed, it does.
thanks thumbs
sure.
do i have to restart apache for htaccess files to be recognized?
it doesn't seem to be taking
nope
garbage
try putting junk in your htaccess file. If it's being read, you
will get an Internal Server Error when accessing that
resource.
^^
i do get server error
ok.
but if i go to a file that i know the name of ... such as
/.svn/entries... it still pulls up
pastebin your htaccess file. Also, give us a sample url.
http://apache.pastebin.ca/565436
i don't have a url... the server does not have external access
yet
router
In order to access your web site behind a router, you must
forward the port apache is listening on to your internal IP. Then
you can access your site by pointing your browser to http://your external IP here:port. If your ISP
blocks port 80, see 'port 80 redirection'. Instructions on how to
forward a port using most common routers can be found at http://portforward.com
i know how to open it up, i just can't right now
if I forward port 80 to my computer, how will other computers
on my LAN be able to access the internet?
or is that only if someone is initializing a connection?
hello?
Hail, bourreau!
thanks fajita
if only for incoming.
not outgoing.
in my htaccess?
ok, I see
when my server sends a reply, how will the router know where to
send it?
nat
nat is vnetwork address translation and the most common reason
why trying a servers public ip while behind its NAT doesnt
work
port forwarding
Please pass the Fonseca.ee http://portforward.com
any ideas?
sec
server crash here
Hold on, I'm confused here...
by "incoming only", do you mean only connection-initiating
packets, or any incoming packets at all?
all incoming packets on port 80.
but when another computer on the network tries to view a web
page on the internet, how will the web page send back
information?
It would be forwarded to me
Does that just mean I should pick another port to use?
no
local computers should use the INTERNAL IP
i.e., not go thru your NAT.
no, I'm not talking about local computers accessing my
server, I'm talking about local computers accessing the
internet
they will not be affected.
they send outgoing packets, not incoming.
But when the server of the web page they're viewing sends
back a response, or the html of the web page, you're saying it's
not considered incoming?
yes, but it's send on a random high port. Not 80.
oh...
Well what exactly is port 80 used for?
typically, hosting HTTP servers.
ok, here's a riddle... filesmatch doesn't work in either my
config or htaccess, but directorymatch does work in my config...
any ideas?
Sorry, you're confusing me; you said a server on the internet
(I was talking about HTTP servers) uses a random high port to
communicate with a computer on my LAN. But now you said port 80 is
used for hosting HTTP servers...
80 is the typical listening port on an http server.. why is this
so hard to grasp?
let me think about it for a second
perhaps something else is overriding that directive
the client does not speak from port 80. port 80 is reserved
for http servers to listen and respond on.
would it be defined in the global configs maybe?
so clients have to take whatever ports are available.
grep your config.
get to know your system with netstat -pant
no, don't pull your pants down.
it doesn't appear to be.. no match
So when I type in a URL in my internet browser, it tries to
contact that web server; does it randomly select a port to do that
from?
when listening on 80, the target port is 80. When serving
data, the source port is 80. The client port can be
ANYTHING
http://www.w3schools.com/tcpip/default.asp
yes, but it always speaks TO port 80 (with some
exceptions)
holy active apache channel batman!
at least we're under 300 users right now...
how is that surprising?
because i was in another well known server but the apache
channel is empty in there
ours is better anyway.
is it ok if i paste just 2 lines of code here?
sure
no more than 2.
quakenet actually
code? we don't do no stinking code in #apache.
oh, i'll leave then
quakenet is hardly a technical-oriented network
hmm i'll stop using quakenet then as thats all i use it for
only active channel is php!
what kind of code, exactly?
redirect module
RewriteRule ^lyrics/([^/]+)/([^/]+)$ /lyrics/$1/$2/ [R=301]
RewriteRule ^lyrics/([^/]+)/([^/]+)/?$
/lyrics.php?artist=$1&title=$2
holy rule batman!
i'm using the redirect module to redirect a url and it keeps
encoding questions marks like this /? but only if they are at the
end of the folder name. so na?me is ok but name? becomes
name/?
oh shit, hailviral was THAT guy?
hey
if in my config, i have allowoverride none... then in my
virtualdirectory, i have allowoverride all.. would that
work?
i think i got it working
can u test it for me
my router comes up when i try
escapeth the ? like so \?
why aren't you using aolserver?
if in my config, i have allowoverride none... then in my
virtualdirectory, i have allowoverride all.. would that
work?
what directory, exactly?
does it correspond to the real directory?
RewriteRule ^lyrics/([^/]+)/([^/]+)/\?$
/lyrics.php?artist=$1&title=$2
aolserver?
aolserver is nice stuff
a few things.. there's no redirect module, maybe you mean
mod_rewrite? and for this kind of job you'd be better off using
PATH_INFO and Options MultiViews instead
oh shit, hailviral was THAT guy?
who were you referring to?
ok thanks arreyder. noodl: will take that into
consideration
ignore me, listen to the pasta
lol
i love noodles
The Pasta Knows.
i'm not sure i understand your question
he's a freenode troll. we've seen him before. the aolserver
guy.
he mostly bugs #perl
god i hate pasta
rice and noodles are good but pasta tastes bad
not enough basil
just needs a good meat sauce, with loads of fresh
garlic.
garlic++
is this true about hailviral? can i get my banstick out?
please.
to think I took time to help him
stupid me
saintly
http://apache.pastebin.ca/565526
it still redirects. I can't figure out why. Anyone able to
help?
just take care of
*!*@pool-*-*-*-*.lsanca.dsl-w.verizon.net
do you have any thoughts on the matter?
arreyder
arreyder is truly bewildred by this whole exchange
the change u told me to make causes a 404 error :P
sweet
i have no idea what aolserver is
I told you to listen to noodl
yeh i was going to
no one listens to noold...
was hoping the easy way would work first though
what did the request end up lookiing like?
bad for one's health... something like that...
i wanna know why my router setup screen keeps coming up
instead of my website
it didn't even redirect and the question mark still had the
forward slash. as u can see Are+You+That+Somebody/?/
because your router is listening on port 80
that looks ok, besides the redundant parenthesis. which part
of the url contains this errant w?
I think I misinterpreted your goals, you want me to hack at
it some more, or you ready to listen to noodl?
what should i do
i still want to see my router setup but i want my website
too
i'm ready to listen to noodl
fix your router so it doesn't anymore
if hes willing to give me the code xD
i hate learning new stuff
something like wiki.mysite.com/w-should-be-here/
sorry, got distracted by all this talk of meaty pastas..
what's your thing again?
oh my, new stuff is as good as it gets.
RewriteRule ^lyrics/([^/]+)/([^/]+)$ /lyrics/$1/$2/ [R=301]
RewriteRule ^lyrics/([^/]+)/([^/]+)/?$
/lyrics.php?artist=$1&title=$2
wiki.mysite.com/wiki/Title which aliases to w/index.php
should work then. try a simpler rule like RewriteRule . http://www.apache.org/ and then add
conditions to taste
i'm just lazy. i was originally going to do a career in IT
(hence studying it at uni) but i realised theres sooo many
languages to learn that it's too much
and every few years another set of languages comes out which u have
to learn
so i wanna be an english teacher now
can i have it just listen from a certain static ip and not my
isp ip
because it's one language and i already know it
english teaching's good 'cos you can travel the world with
it
yeh well i also plan to live in bangkok and i couldn't do an
IT job there anyway because i don't know thai. besides programming
jobs in bangkok pay awful
Listen on a port. Don't put the IP in there.
I'm not sure why, but it's the negating which seems to cause
the problem
i was originally going to teach english in china but then my
new gf is in bangkok now
k
so yeh your right about travelling the world
i live in .th and speak a little thai
really? cool
got any tips for me?
khun sabaidee mai?
sabaidee
pom poot bhasa thai dai, der mai koi geng
i only just started learning thai a few days ago so i only know
basics
heh, it's a fairly easy language to learn
really? 6 tones..
do you program in ruby? if so i could probably get you work
in .th..
seems harder than mandarin which i was originally learning
haven't even heard of ruby, i'm still at university so very much
new to programming
so any rule with port 80 i just take the ip out
yeah the tonal stuff's a pain but you get used to it. thais can
understand spoken thai without getting that part right
mostly.
i want to teach english at a university in bangkok. as i
understand it u need a degree + tefl + 2 years
experience
yep
only problem is my degree wiil be in software engineering so not
relevant
shouldn't matter
many of those learning english will be doing so to learn techy
stuff anyway so you'll be in a good spot
do whatever you want, we can't follow your lack of logic
anyway
i want to do a PGCE, it's a teaching course in the uk. u need
a degree to qualify to do it, problem is because i want to do it in
english they might not let me because i have no english
qualfications except for gcse
really? i thought they only learned it for touristy stuff
if thats the case then i'll try and showoff my IT knowledge (i
should have some by then) when i apply in a few years
time
hmmm maybe i should mess with that
in school maybe but in higher ed there's a bunch of people
trying to learn programming but restricted by their
english
ah ok cool
my neighbour's daughter is learning java at uni but finds it
hard 'cos her english sucks
i sent an email to a uni employer telling them my situation and
asking their opinion, but i got no response. damn snobs
the education system in thailand sucks very badly
learning by rote
does she live in bangkok?
yeah
as i understand it most of the schools in thailand are
corrupt and they don't care about standards or performance
it's only when u get to university level are all the schools
proper
and theres some proper ones at primary/secondary but they are
rare
cool
i'd be happy to teach her when i come over next summer
dunno about that. thing is there's a status attached to being
in higher ed that people don't really talk about but it's there all
the same. kind of like a caste system. if you've got a degree
you're in a different class.
really? i kept reading that most schools didn't care about
degrees
but then i guess it's the few that do care who i need to look
at
eh?
my daughter's in school in .th but it's only pre-school so
i'm not too concerned about the teaching quality
i thought that's what uni's gave out...
over here, to teach jc you have to have at least a masters. to
teach at a uni, you need a phd
so uh, what doesn't work about your rewrite rules?
"Dont eat the rice from the rice table"
only thing I learned in pre school
we had a rice table thing that was kinda like a sandbox
it keeps encoding questions marks like this /? but only if they
are at the end of the folder name. so na?me is ok but name? becomes
name/?
"don't eat the pencils" was about it for me :p
i have a dent in my forehead from where i pushed a pencil rubber
into my head really hard all lesson
it's only small
hmm, at least rice is edible :P
and drinkable!
with some work that is...
but your rules does that.. appending a slash when there isn't
one? perhaps you're missing hthe fact that the rewrite rules
doesn't "see" the quesry string
about the size of a pencil rubber funnily enough
hehehe
so how can i fix it?
plastic surgery?
no i meant the rule
gimme an example url, in full, and say how it doesn't
work
anyone familiar with debian/ubuntu's apache
configuration?
distro
what distro are we dealing with here?
bah
humbug
layout
ubuntu
layout is see config.layout or default layout
ubuntu is an ancient African word meaning 'I can't configure
Debian'
distro layout
See http://wiki.apache.org/httpd/Info/DistrosDefaultLayout
for clues on how your distro mangles or organises its Apache
package(s)
very true
sheesh, dang multiple keyword commands.
ok well heres the url i put into the browser http://www.moozic.net/lyrics/Aaliyah/+Are+You+That+Somebody%3F
and heres the result http://www.moozic.net/lyrics/Aaliyah/+Are+You+That+Somebody/?/
%3F is just a question mark btw
i just tried encoding it differently to see if it would fix it,
then i realised it was the rewrite module messing it up not the
link
hmm, try [NE]
if the global config says AllowOverride None... and my
virtualhost says allowoverride all... would that explain why my
site seems to be choking on htaccess files?
depends on the scope
but things in the vhost will override global configs if any
configs conflict
so if htaccess is barfing, it could be a vhost misconfig or your
allowoverride in the wrong scope, etc...
for instance...
directory /
is a filesystem directory, not a URL path. If you put options
in this block, don't be surprised when whatever you're trying to do
doesn't work.
i can't seem to get filesmatch to work
adding [NE] just gives me a 404
unless i'm putting it in the wrong place :x
i just put it after the 301
let's see
gah!
be wary of noodl saying let's see!
RewriteRule ^lyrics/([^/]+)/([^/]+)$ /lyrics/$1/$2/
[R=301][NE]
like that
noodl likes to see wibbly nibblies!
IT"S WIBBLY TIEM!
[R=301,NE]
ahh ok
still gives me a 404
step one
whatever the problem, step one is to look in the error log
(and any other logs that may apply, such as suexec, mod_rewrite, or
mod_security).
rewritelog
rewritelog is http://httpd.apache.org/docs-2.0/mod/mod_rewrite.html#rewritelog
http://httpd.apache.org/docs/mod/mod_rewrite.html#rewritelog.
Use this logging to help design and track rewrite; see also
rewriteloglevel; and cannot be used from .htaccess
see the error log for where apache thinks the url is
going
rewriteloglevel
rewriteloglevel is
http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html#rewriteloglevel.
RewriteLogLevel 9 is log everything...
and then enable RewriteLog once that doesn't help :p
so i just type rewritelog into my .htaccess file?
gah!
rewritelog context
server config, virtual host
so i have to add it to my server config?
server config, virtual host
rewrite in htaccess is bad evil & wrong
avoid it if you can
ok well i'm not quite sure where to put my conf file for
apache because i tried putting it in etc/http/conf and it didn't
work
httpd/conf even
how was your server installed?
i don't know because it's my webhosts server not mine
via a package presumably.. do you know which distro they're
using?
i know apache is seeing my htaccess file, b/c i can cause it
to error, but FilesMatch has no effect
filesmatch override
filesmatch override is allowed in .htaccess files if
AllowOverride is set to FileInfo
ok that must be set if rewrite is working...
*shrugs*
1.3.37 (Unix)
Kernel version 2.6.19.2-grsec
1.3.37 is the apache version
is there an /etc/issue file?
cat /etc/issue
nope
allowoverride is set to all
so i need to change it in the htaccess?
if possible you should avoid using htaccess for mod_rewrite
it's slow, confusing and loop-prone
hmm well i can't seem get the conf file working. unless
cpanel will let me redirect with regex expressions
cpanel just uses apache anyway
is there anyway to determine why my htaccess isn't working
correctly? logging?
s/uses/abuses/
cpanel is teh evil
noodl
i meant to ask u. is your neighbours daughter looking for a private
tutor?
i know a lot of students use them
because i'm going to be in thailand next year either over the
summer or for a year so would appreciate it if u could hook me
up
i'll be looking for a job at a school then trying to do private
tutoring outside that
ask me when you're over. we could meet up
references? DNA sample?
ah sure thing
i don't think she's after private tuition though, can't afford
it
oh ok
watch out for your wibbly bits if you meet up with noodl
whats bangkok like for living then, is the corruption really as
bad as it sounds? i was only there a week so didn't see much,
though i did walk down a dodgy street and have people trying to get
me into there dodgy bars
more like if you meet up with my wife
lol
is she thai?
bangkok smells bad and yes, you can get mugged easily
i got mugged once by a pair of ladybodys
bangkok doesn't smell bad if your on the right side of the
river
from what i remember theres one side with all the dodgy stuff
and the other side is really westernised
luckily i noticed that they'd picked my wallet and gave chase
and got it back
how did u get it back, did they fight u for it?
no, i cornered it and offered to part with some cash in
exchange for the wallet (i cared more about the cards in
it)
heh ok
is your wife thai or western?
and yeah, not all of bangkok smells, but it's such a
beautiful country outside the capital that i wouldn't want to live
there
too crowded and noisy for me
she's thai
because my gf is thai and theres a big culture difference
that makes it hard for me sometimes
ok cool
http://www.flickr.com/photos/28727541@N00/
got any tips for me?
heh... ironic that an englishman would be complaining about too
noisy...
any tips on keeping thai ladies happy? be respectful, be
calm, be loving and don't walk over the food :p
or anything really. just be careful not to step over any plates
of food or people or dogs or any of the other things it's hard to
avoid walking over
do you always take pictures of your meals?
feet considered dirtiest part of body
and if you ever decide to drive in thailand, take lots and lots
of deep breaths first
yeah, quite often
ok i'll remember that. i was catching onto the calm thing
because she always got upset even if i was just having a loud
discussion with a friend
my wife laughed at me our first thanksgiving, and not just
because I used a drill to make holes in the turkey
heh
hehe
i'd laugh at you too :P
I insisted on photographing the food
chainsaws work much better...
http://www.flickr.com/photos/28727541@N00/333775361/
hahaha
Hmm, next year. I have one.
and if you ever decide to drive in thailand- already done
that
my gf let me drive her car a bit
amazing really considering i don't have a license and have only had
2 lessons
was a nice car too!
automatic though, which sucks
it's a scary prospect.. my wife drives our car around. she
"passed" her license test by bribing everyone at each
stage
lol
luckily the insurance company seem happy enough to cough up when
she crashes
yeh i noticed theres a lot of bad drivers
btw when i was driving in bangkok it was night time too
included pulling off onto a dual carriageway
hehe, bangkok's a nightmare to drive in. take a wrong turn
and you're stuck in a queue for an hour trying to get back on
course
yeh the road network looks a bit crazy
what? it's gone, beards don't work on me
you looked funny.
s/looked/look/
heh
those bike boats are nifty, I want one
i want my own tuktuk
;D
hehe, noisy buggers they are
are they called "bike boats" I seriously want one
google fails!
http://www.spectrum.ieee.org/sep05/1685
dunno, that's the only time i've seen then
them
i'm getting "no rule to make target 'install-webconf. stop'
when i run make install-webconf. what does this mean? tried the
nagios channel already
ubuntu-rocks1: look at the Makefile you probebly speeled
someting wrung
or didn't run configure..
ubuntu-rocks1: it'll have the available make options
hmm, true. hadnt considered that
right so what am i gonna do about this rewrite rule
i'm trying the ubuntu quickstart for nagios. i'm at the part
where it says" install the nagios web config file in the apache
conf.d directory" then next command is "make install-webconf". are
those 2 things or 1?
no idea
did you try RewriteLog? are you able to edit the main config
files yet?
no i'm not hence i can't try it. unless i can tell apache to
make the log from the htaccess file..
is there a way to determine what configure options were used
when i built apache? i've lost the documentation on it.
hmm well i don't think i can do that
just read that u can't
well if you've kept your extracted dir after you compiled,
config.nice
config.nice
config.nice is ~a file with all the arguments that you passed
to ./configure when building Apache. or installed to
${prefix}/build/config.nice
ah, looks like i don't have it
guess it's back to the manual for me!
you can use stuff like
httpd -v
httpd -v returns Apache's version number. httpd -V returns
compile settings.
er big -V
or httpd -M
httpd -M lists both statically and dynamically loaded modules
for apache version 2.2 and higher
httpd -l
Use httpd -l (small L) will show you what modules were
compiled into apache, but only compiled-in; others can be loaded
with LoadModule or httpd -L (capital L) will show you a list of
available configuration directives provided by the currently
compiled in module set (shown by httpd -l (small L)) Where httpd is
the name of the Apache HTTPd binary.
but it'll take some cross referencing skills
for versions 2.0+ make install puts config.nice in the build/
directory of the server install
does it?
Or doesn't it?
ooh... that's good to know...
why yes it does
noodl++
thanks everyone!
why can't you edit the server config?
no gui!
:P
scratch'n'sniff wibblies
hmm well unless i can do it from shell somehow i can't see
how i'm going to do it
o.O
vi
vi is a text editor. or a full-featured Apache configuration
tool.
because i dont know if it looks for a config file in my
webspace
oh, is this shared hosting?
yes1
let's go back to the yeah but not with rewrite option
your rewrite rules sends the request to the script with the same
basename
so, rather than fiddling with mod_rewrite's broken url encoding
issues, try this
be lolcat
im in ur phonez textin ur honeyz
Options MultiViews
AcceptPathInfo On
(the latter probably isn't necessary as it's on by default)
that way, /tune/whatver will get resolved to /tune.php with
/whatever going in to the PATH_INFO variable
Related Topic:
Ive got an apache server at a colo w- redundant DNS setup at other colos acrosss the US Im trying to figure out