4 2007] [error] [client 10.50.8.30] File does not exist:
any ideas what might cause that?
dunno but i'm looking at http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html
atm
yeah, unfortunately, according to taht, i've created my rule
properly
how do i get apache 2 on fiesty to do a graceful
restart?
ubuntu-rocks: /etc/init.d/apachectl restart won't work for
you?
e-voc - no. i usually use /etc/init.d/apache2 restart
i don't have apachectl
i think that's jsut naming
just even
can I setup logrotate via cron.hourly to run instead of
cron.daily?
ubuntu-rocks: this would make sense, if you logs grow up to
100MiB in an hour.
ubuntu-rocks: otherwise it does not.
jMCg,hi
yeah, i was getting 1mb/min
finally I could achieve it
ubuntu-rocks: find out why.
my app works fine, but now I have got another problem
5am and my access.log file is over
ubuntu-rocks, dear, have you considered, for a start,
splitting your logs per vhost?
1 I have got a forbidden error. This is the virtual host
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.
did you check the errorlog?
^^
what does the error log say.
ARGH
lol
the error is that http://pastebin.ca/595256
pctony, jink -- please to take a look at his vhost. http://pastebin.ca/595250
jMCg, it is just a test
httpd.conf
the scriptalias overlaps with the docroot
^^
didn't come that far.
I just saw the VirtualHost line and screamed.
lol
why?
it has two ip's
rls?
for useless Use of cat
:-/
what it is the problem? Sorry, but I am a beginner andI would
like to know what is wrong
enlighten me.
How would you do oh
shit
shit is solid excrement... please don't use such
language!
example vhost
Take a look at this for an example vhost http://wiki.apache.org/httpd/Recipes/ExampleVhosts
._.
thanks.....
^^
anyway, if I remove FollowSymlinks it works fine
take a look at http://wiki.apache.org/httpd/Recipes/ExampleVhosts
you mean, I should make two instead of writing two IP's in
the same one?
either that, or you do *:*
or use *:80
Or just *, which means the same.
heh
80 != 81 :P
i just spotted that
wel, jMCg, I am using 81 with intention
but I know what you mean
in that case use two vhosts, if you want
I thought so.. _wfq still using Listen 80 and Listen 81 and
then a single vhost with * would make more sense.
i hate VirtualHost *
+1
literally.. hate.. as in.. I hate megaspaz ?
jMCg, No. From my opinion is not the same. I want differents
services in different ip's
a bit more than megaspaz, even!
i totally loathe it!
if I do that I am telling Apache I want the same virtualhost
for all ips listening to 80
anyway, as pctony said is smarter
oh, you're telling _us_ what to do!?? wonderful! then why don't
you fix your own stuff?
No man, this is my opinion. Of couser I will be totally wrong
as I am a beginner
you guys are the expert ones
Yes we are. Now pay us.
for this reason I am asking you
sorry, I am broken
lol
jMCg - server
host is only running 1 web site
ubuntu-rocks: okay.. what then is it, that is producing an
access log of 900MiB in size?
referral spam?
spider indexing?
he'd be spiderman himself by now, if this were spiders.
Morning thumbs
if he has a LOT of content, it's possible
morning
what can I do you for today, thumbs?
doesn't look so much too me.
hi all
is there a way to share the home directories via webdav, similar to
userdir module, only allowing the owner to write content and all
users to read content in it?
to just *read* it or also to write it?
the user itself should have it writeable
but others in the group users (which can read it anyways if
logged in) should be able to read it
filesystem permissions should do that naturally.
nope.
no?
problem is apache is running as Apache user. so it needs
write access to the directory.
but then everybody will have write accesss.. unless...
mod_authz_external
mod_auth_external
mod_auth_external is ~a flexible tool for creating
authentication systems based on other databases at http://www.unixpapa.com/mod_auth_external.html
I would use that thing for authenticating the right user at
the right place and give the right group read access.
But that's just me
jMCg, thx for the hint
mod_authnz_external
mod_authnz_external is http://unixpapa.com/mod_auth_external/
also see pwauth
i'll try it
for 2.2, btw.
ok, i think i've seen it as module in debian etch
I use mod_rewrite and I want to write a RewriteCond line to
catch requests to "/blog/wp-comments-post.php".
Is "RewriteCond ${REQUEST_URI} (wp-comments-post) [NC]"
wrong?
"RewriteCond ${REQUEST_URI} /blog/wp-comments-post.php"
it does not appear to be intercepted. The request goes to the
404 page.
oh, the affordable
blogging has a rewrite section earlier, provided by
wordpress. If i put my lines above those..
where do you have that directive? in server/vhost configuration
or in .htaccess?
...and if in .htaccess, then in DocumentRoot or in
DocumentRoot/blog directory?
the configuration is in .htaccess, and .htaccess in
~/blog/
remove the leading / from your rule, then
Weird shit.. really..
Like "RewriteCond ${REQUEST_URI} blog/wp-comments-post.php", is
not caught.
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
rewriteloglevel
rewriteloglevel is
http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html#rewriteloglevel.
RewriteLogLevel 9 is log everything...
there is another issue; my webhost uses Apache 1.3. Could
that be an issue?
1.3.27
1.3.27 has been replaced by 1.3.31 and you should
upgrade.
sorry, 1.3.37
1.3.37
1.3.37 is the latest 1.3x release
Hello
salut, Kioob.
Is it possible under linux hosting to know
the exact amount of memory used by an apache process ? "ps -elyf"
show 50MB per process, which of course is wrong...
When I use "RewriteCond %{HTTP_REFERER} (wp-comments-post) [NC]"
it catches referers quite well.
why is it wrong?
I have 194 apache2 process running, and only 552Mo of memory used
well.. that sounds wrong then.
4 2007] [error] [client 10.50.8.30] File does not exist:
i already had it that way, gezick.
I seem to remember there used to be something with
ModProxyPass to do these sorts of things
but looking at the docs now, doesn't seem to be the case?
so, is there a way to see it ?
I don't know.
Ok
what permission should be granted to files under www/data ?
sorry, not permission. I mean which user own the directory and
subdirectories, files
root or www or other user
make sure the user apache runs as does NOT won the
file/'directories
s/won/own/
how do i fix this??? Starting web server (apache2)...Can't send
mail: sendmail process failed with error code 1
what does the error log say, exactly?
give me a sec i'm mailing it
or not...
not is mandatory, but recomended
I find www and root, so I should choose another user as the
owner, right ?
make sure the user apache runs as does NOT own the
file/directories
k, thx
could you tell me wh
shy
why
because if www were to use it, any hacker could modify your
apache files
s/use/own/
root was the owner before
any problem
that's fine/.
k
i managed to make it work. wordpress hosting put
a section for mod_rewrite with [L] at the rule. I changed that to
[N] and it is ok now
I see in the logs invalid requests that start with
"comment=%3Ca+href%3D%22+http%3A%2F%2Fdennislearningcenter.osu.edu%2...".
hi there
hola, alecs.
can anyone help me solving my problem ?
Is there a way to block requests based on the size?
http://allsystems.ro/cgi-bin/vqadmin/vqadmin.cgi
vqadmin.cgi"
Hi guys.. I'm trying to set up some caching on my apache server
via mod_header and mod_expires... I've used this configuration:
http://apache.pastebin.ca/595319
... but for some reason Expires is set to "now" instead of "in two
hours from now" when request fx an css-file from the webserver....
any help would be appriciated
Can I set php web
hosting open_short_tags=off with a .htaccess file?
Ind[y]: try this: "php_value open_short_tags=off"
ok, thank you :-)
hi
Hi. I want suexec to execute scripts from users according to
their UID/GID. As suexec does with mod_userdir files. But I can't
use mod_userdir so I want suexec to execute the files properly even
w/o a running mod_userdir.
Is it possible to make appache not case sensitive ?
undead?
undead is 7http://www.regdeveloper.co.uk/2006/08/01/apache_undead/
read that article. It's HTTP that's case-sensitive
ok
Hi , is there a ready to use suexec that can chroot anywhere? (
and best host isnt
10 years old )
so i have to make symlin ?
*symlink
there's mod_speling. But much better to fix your system so
you have just the one URL for a page.
how can i install this ?
Hi! I'm getting an odd problem with subversion and apache.
Subversion is working fine and Apache is working fine. And when I
have my subversion repository on my regular harddrive they are
working fine together. However when I have my repository on my RAID
5 array I get an error from apache when I try to access the
repository. (But I can access the repository fine directly). I've
stumped the people in #svn (here is the pastes I made while working
with th
Sorry about the wall of text...
Hi all!
All is not in today, LiMaLiEd
xex
áîò
òóïîé
i've got apache 2.2.4 running on solaris, and i can't seem to
set up a php hander correctly, because php files are downloaded
instead of executed. as i understand it, AddHandler and Action
lines for php need to exist in the httpd.conf file - am i missing
something? partial paste of httpd.conf at http://pastebin.com/939021
php
php is a scripting 'language' that is enabled by loading mod_php
and AddHandler application/x-httpd-php php or http://www.devside.net/articles/php
you're loading mod_php yes?
Roobarb-Work: the httpd.conf was initially set up by someone
else, so i'm not sure of some of the settings. it has LoadModule
php5_module libexec/libphp5.so but the various entries may not
match up as they should (mod_php instead of
php5_module?)
usually it's php_module or php5_module
I would expect it to be: LoadModule php5_module
extramodules/mod_php5.so
Roobarb-Work: extramodules?
I sense vendor breakage
Roobarb-Work: what vendor, if I may ask?
Mandriva (2006), Apache 2.0.54
right, right... still wrong, wrong.
does the modules that _your_ config refers to, exist ?
Roobarb-Work: if you compile hosting php
from hand [scary stuff to do], it'll place itself among the other
modules, because you would have configured it with with
aspx
Roobarb-Work: i'll check. that would explain my problem
Or apxs, for that matter.
libexec/libphp5.so does exist
ok
I'd remove the AddType line..... and I've never seen the Action
thing before
Roobarb-Work: which action thing?
Roobarb-Work: ah.. you mean from the devside article.
Are there any known issues with apache and RAID? Or maybe
special settings I need do...?
Action application/x-httpd-php /opt/csw/bin/php5 What's that
good for?
nope
i've commented out my 4 logformat lines in my apache2.conf, any
adverse effect? i'm trying to disable loogin for testing
Roobarb-Work: this php config looks about as b0rked as any
other
ubuntu-rocks: aache will use its in-built defaults I expect -
you should be removing the CustomLog lines to sto
logging
Damn these changes in Apache2's rewrite rules!!
what is a recommended way to rotate apache logs on sol 10?
using logadm or some custom rotate script w/ in apache's conf
?
Curses. I then have no idea why I can get apache to work with
an svn repo if it isn't on the RAID but can't when it is on the
RAID.
in what way does it not work?
Roobarb-Work: http://www.devside.net/articles/php
scroll down to: PHP as an Apache2 module [the right way]
Roobarb-Work: I get this error when it is on the RAID; http://paste.lisp.org/display/43580#8
Apache doesn't have permissions to read files in that
directory
check that the user apache runs as (the User field in your config)
has Traverse (+x) permissions on all directories in that path
and check that they have read permissions on that directory
http://paste.lisp.org/display/43580#9
What am I missing here? http://rafb.net/p/Qxf7G080.html
I'm getting:
not-matched
That says that the referer isn't set on that particular
request.
And it does seem to be running as www-data; http://paste.lisp.org/display/43580#10
ah, my bad... it works now
I disabled referers in FF, and was testing in that condition,
doh!
fyi i commented out those logformat lines in apache2.conf and
when i do a tail of the access.log, it just shows combined for
every line
hi
i have a problem with apache 2.2 mod_rewrite
I don't know how to enable it.
can you be a little more specific?
i was used to configuring apache 2.0.59
What does "enable" mean, in this context. What have you
tried, and what happened?
mod_rewrite syntax is unchanged from 2.0.59 to 2.2
I just want to know what configuration file to change
and its location in ubuntu
I do not know where ubuntu hides things. You need to make
sure that there is a LoadModule directive for mod_rewrite
somewhere.
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
Indeed ^^
ubuntu
ubuntu is an ancient African word meaning 'I can't configure
Debian'
woo! Its Friday! And I'm officially laid off today!
Congratulations.
that sucks or congrats?
Thanks
It sucks
thought so, never fun being unemployed, hate the feeling
But there's always WAL*MART for $10.00/hour
After I resigned from Linuxcare back in 2001, I was out of work
for 2+ years
Was NOT fun
move to calgary alberta, you'll make $20/hour just working at
tim hortons!
Ah, yeah, I forgot you were with Linuxcare. They were an
interesting company.
one isn't unemployed. One is a freelancer, self-employed, a
consultant, or [insert preference here]
Ok, true
I'm going to freelance my way down to the Unenjoyment Office and
earn a cool $490/week now
DrBacchus, They're still kicking (and still not doing anything), as
a new company, Levanta.
Still not public, still hiring and firing people on a whim, still
not sure of what they want to do with themselves
I dont get it... why is mod_rewrite hard to be configured in
apache 2.2?
phpcurious, Its not using PCRE, and its a bit more paticular
er, particular
What worked in VirtualHost blocks before, now needs to go in
Directory blocks, and so on. Its just more specific.
but i like apache 2.2 to have multithreaded process enabled
mod_proxy too
Sorry, got called away
mod_rewrite is no different in 2.2 than in 2.0
The regex engine is updated, but the apache configuration bits are
unchanged.
The new regex engine enables some new functionality, but doesn't
remove any.
ahh
I'm going from 1.3.4 to 2.2.3
You may need to : a2enable mod_rewrite
I have no idea what ubuntu enables by default.
oh, a2enmod not a2enable
However, I'd expect that it's enabled by default.
If you just put rewriterules in your config, it should just
work.
let me try
The real question is what rules you have tried, and why you
think they're not working.
i just realized my mod_rewrite isn't enabled because when I
tried to run a PHP framework to run the rewriting rules won't
work
Are those rules in the main config, or in a .htaccess
file?
the rewriting rules are in the .htaccess file
So what you should be investigating first, then, is not whether
mod_rewrite is enabled, but whether .htaccess files are
enabled.
when i checked the phpinfo() there is no mod_rewrite module
enabled
ok
well, then try a2enmod, and say whatever strange incantation that
ubuntu requires.
it said " this module does not exist
What said that, in response to what?
What exactly did you type?
RewriteLogLevel 9
RewriteLogLevel 9 makes sure you get all possible rewrite log
messages. also, make sure you turn it down when you're done to
prevent performance impacts
RewriteLog /path/to/rewrite.log
i typed a2enmod mod_rewrite
perhaps it's a2enmod rewrite
I don't know. I don't do ubuntu
It is
i am getting curious , what os do you use?
MS-DOS
SCO!
MS-DOS is ?/M-S-dos/ [MicroSoft Disk Operating System] n. A
clone of {CP/M} for the 8088 crufted together in 6 weeks by hacker
Tim Paterson, who is said to have regretted it ever since. Numerous
features, including vaguely UNIX-like but rather broken support for
subdirectories, I/O redirection, and pipelines, were hacked into
2.0 and subsequent versions; as a result, there are two or more
incompatible versions of many system calls, and MS
sco is http://bash.org/?106579
DrBacchus, Is there a way to prevent Indexes, but not throw a
403? Right now I've just been putting a 0-byte index.html in the
dir, but that's messy.
I use a variety of OSes, but for the purposes of this
conversation, it probably suffices to say that I always build
Apache from source, and so don't rely on strange third-party
distros and their "helper" scripts.
" Module rewrite installed; run /etc/init.d/apache2 force-reload
to enable." it works!
I suppose you could use a rewrite rule to look for /$ and
react in some fashion to that.
But I'd have to stick it in 90% of my vhosts... yech.
Or, use -Indexes and a custom 403 page that doesn't look like
a 403 page.
hrm
thank you for the big help
But that still requires 3 additional lines in each vhost
(Rewrite on, Rule, ErrorDocument). I'll see what I can figure
out
my mod_rewrite is finally enabled
Good deal.
Robert
I tried to look for solution on the net but to no
avail
That doesn't require any rewrite rules at all.
Options -Indexes, ErrorDocument 403 /boogity
er, you're right... was reading up too far
Yes, sorry, I suggested several conflicting things. :-)
ok, i
sorry, still having trouble with php. paste:
www.pastebin.com/939021
i've added the php addtype lines to my virtual host config
(www.pastebin.com/939021), but php files are still downloaded, not
executed
pastebin.com is pretty consistently very very slow
Can you use apc instead?
apc
Try using http://apache.pastebin.ca - It's a
good pastebin, and is even set up to highlight Apache
'stuff'.
is your libphp5.so in libexec/ or in modules/ ?
libexec
http://apache.pastebin.ca/595524
x-httpd-php5?
not x-httpd-php?
e-voc: when i connect to the server, my browser asks me if i
want to save or open a file of type application/x-httpd-php5 . .
.
i don't think there is application/x-httpd-php5
did you try application/x-httpd-php?
e-voc: i'll try it
ok
with application/x-httpd-php, nothing changes: browser still
asks if i want to open/save a file of type
application/x-httpd-php5
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.
is there anything in the log files?
grrr, why is it that apache2 makes _every_ directory not
specifically stated as -Indexes, as browsable?
grr
you have 'Options Indexes' as default?
Nope
and that closed that hole down
Could be more Debian default breakage
Options None..
I'm going through every single vhost's directory structure,
testing every single subdirectory now
growl
The answer to your question is:
Ok, this is a mess
options default
The default value for Options is Options All
If I set -Indexes for a vhost, and then add a .htaccess in a
subdir of that vhost with "Options +Indexes", ap2 tells me that its
not allowed.
6 2007] [alert] [client 10.0.1.1]
/var/www/sites/code/Bronx_is_Burning/.htaccess: Option Indexes not
allowed
i'm getting somewhere now, thanks for the cahce reminder, lamp.
http://apache.pastebin.ca/595524
and http://apache.pastebin.ca/595565
I have a bit of a problem. I asked about it yesterday and got
some good feedback, but the bosses haven't OK'd that.
We have about 1100 logs created (550 vhosts with error/access
each), and I was advised to remove logs for them
then pipe it or run a cron against the log to split it every few
minutes. I like the cron idea myself.
is there a limit built into apache for open files? We add another
vhosts and apache fails to start.
DrBacchus, Is there some new structure in ap2 that I have to
add to allow parsing of .htaccess files?
er, well, it MUST be parsing it, because it errors out on it... so
why isn't it allowing it?
er, well, it MUST be parsing it, because it errors out on it...
so why isn't it allowing it?
different AllowOverride arguments than you earlier had
hey, its 'loca-pipe-to-host'
http://www.xkcd.com/c276.html
you're probably hitting a ulimit open files limit
yeah, it's an os limit. you can increase it
ulimit -f 4096, before you start apache
or whatever limit you want
(man bash, search for ulimit)
sysctl it
ulimit -n, sorry not -f
huh
Please state the nature of your computing emergency
huh
Please state the nature of your computing emergency
cool
I have the line RedirectMatch 301 (.*)\.shtml$ http://www.domain.com$1.php in my
.htaccess but now www.domain.com gets redirected to
www.domain.com/index.php. does anyone know a workaround?
Hi, what is the best way to rotate logs for apache ?
easier will be good too
logrotate
logrotate is supercool or see rotatelogs
kewl
thanks
does logrotate helps in removing logs older than certain number of
days ?
removing as in deleting? no
but it splits your logs up by time period so it's easy to do
that.
You can use a cron job to delete old logs, its 1 find
line
yeah
yea i guess i can set a cron job to do that
for i in `find $WEBLOGDIR -mtime +28|sort`; do (rm $i);
done;
you know that proxy setup you showed me ...
yeah?
gold! Thanks for that
cool
Roobarb-Work: We have it set to ulimit -n 128767 in the
/etc/rc.d/init.d/httpd file, but we still fail when adding another
vhost.
also you know if it would be possible to use something like
pond for the proxy ? (I think its called pond)
pound
pound is =a HTTP load balancer available at: http://www.apsis.ch/pound/
dunno, maybe
Roobarb-Work: ulimit -a shows : "open files (-n)
10240"
file-max shows : 393203
btw... it does work with mod_secuirty jail.
Roobarb-Work: security/limits.conf shows apache/root soft @
42767, hard @ 128535
Roobarb-Work: when i did a search in the apache src I found
FD_SETSIZE = 2048
what does the error_log say?
I made a suexec that chroot php , works good , the problem
now is that mod_fcgid still serves the full path to the binary (
/var/www/blabla/htdocs/index.php , instead of /htdocs/index.php )
anyone might have a solution?
what does the error_log say?
what os?
Roobarb-Work: trying to find the error now, but nothing
helpful
rhel3
rhel3 is slow
Hello
I have a problem, with Apache and PHP
When i enter to my localhost, with firefox, the php doesn't
see
10k open files is rather a lot
oh, sorry.
You will be!!
does not see what
It offer me to download the .php file
yea! I am trying to get them to do like you said yesterday and
put all access in 1 file then parse
what playform ?
When i enter to a php file in my localhost it offer me to
download
platform
'What Operating System and apache version are you
using?'
Oh, sorry. PHP5, Apache2 and Ubuntu 7.04
the bosses haven't approved that yet, I just told them to
dump the error logs since the errors are in the access_log
anyways
well, that's certainly one way.
did u get the apt packages ?
although it makes debugging a lot harder
The only ones who see the errors: me, my manager, and his
manager. The coders never really see the logs
i don't see how 550 hosts with 2 logs each translates to more
than 1100 open log files
what do you have in your /etc/httpd/httpd.conf file for the
TypesConfig part
why don't you dump all the error logs into the same place,
then
I use apt-get to install: sudo apt-get remove apache2 php5-mysql
libapache2-mod-php5 mysql-server
that will cut down your open files by a factor of 2
should let you add the next vhost, anyway
yes indeed howerver, there are configuration files that are
installed that may need to be modified
The way we do the sites: each site actually points to our main
site, which checks the hostname request and gives them the correct
template.
i grabbed apt-get install php5 mysql5 apache2. all worked
straight away
so having all errors in 1 spot is a bit hard, since you don't
know where that error is coming from then
What file?,
yeah, i understand that
i believe ubuntu has some good docs for installing apache, hold
on one second let me see if i can locate one
with access, we can add %V to the combine and we are good to
go
but it's better than no error log at all
sure, the access logs are a lot easier
I'm wondering if syslog-ng is the way to go
http://www.strdoc.net/ubuntu-apache-php-mysql-server/
piped logs work great
yea, but access_log stores the error, just have to look for
the status code (401, 404, ect)
never mind that just does the install
Ok, i read it now
but you still have the issue of figuring out which vhost an
error applies to
yea
yeah, access log stores the fact
but the error log has the details
I want apache httpd to start on boot time.. Can I just place
it in my init scripts dir (/etc/init.d/rc3.d) or do i n eed to make
a wrapper around it that calls the script with the start
option
if you dump all your error logs into one file, you can use the
timestamp
just put a symlink in there and you are good to go
it's not very good, but it's better than nothing
thanks Treader
awesome
-- gone
yea, I think that's the way we will have to do it
DirectoryIndex context
server config, virtual host, directory, .htaccess
at least it will by them some time
sure
This is much better https://help.ubuntu.com/community/ApacheMySQLPHP
then I can get them to do the same to access_log and we can
parse it or pipe it
right
how do you rotate your logs by the way?
Yes, i read it yet
I don't think they do! I just started here a month or so
ago
these files are in the 100mbs right now
If I have Options -Indexes, DirectoryIndex index.html, and an
index.html in a subdirectory, why am I getting this?
1 2007] [error] [client 10.0.1.1] Directory index forbidden by
Options directive:
But going to /var/www/sites/eclug.net/iMac/index.html works
fine
there is an httpd.conf file and a mime.types ? config
file
!
1
either you forgot to load the php module... or your mime
types are not correct?
what is a recommended way to rotate apache logs on sol 10?
using logadm or some custom rotate script w/ in apache's conf ?
(sorry for repeat post incase someone missed it
earlier)
I'm finding out how much space right now!
Where is the httpd.conf?, because i cant find it
one advantage of piped logs is that you can rotate them without
restarting the server
i believe its in /etc/httpd/ or maybe /etc/apache ?
i've seen a lot of shops where they use syslog-ng or some
variant, and then end up restarting their server every day to do
log rotation
with piped logs, you don't need to do that, it's a lot better
that way
I uninstalled php, mysql and apache
/etc/apache2/
and now i'm installing again
ok reinstall and follow that guide and if the problem persists
let one of us know
Ok
Thanks1
one of the devs said we are rotating them, they use webalizer
for stats
I have the line RedirectMatch 301 (.*)\.shtml$ http://www.domain.com$1.php in my
.htaccess but now www.domain.com gets redirected to
www.domain.com/index.php. does anyone know a workaround?
if the logs are hundreds of mbs, they probably don't rotate
them very often.
/VirtualHost, do I still need a DocumentRoot pointing to
/path/to/that/host inside the VirtualHost block?
restarting the server weekly or monthly is less of a
hassle
how could we tell if they are rotating?
probably a cron job of some kind?
possibly. that's the usual approach
let me check
Ok, wtf... this makes no sense now
ah ha, looks like our logrotater is broken..
cute
Shes cute, lets cure her with sunshine and puppies!
it's not uncommon.
http://rafb.net/p/5run4R66.html
That config, results in:
2 2007] [error] [client 10.0.1.1] Directory index forbidden by
Options directive:
But there *IS* no Options line forbidding parsing of
index.html
the thing about rotating logs is that you have to get the
process to close and reopen the log file
usually the only way to do that is to restart the daemon
ok
so log rotation packages usually let you configure a
restart
this one says that it will recreate the files
not sure that helps any
Even with Options +Indexes, I get the same error
apache like most daemons automatically creates its log files
but it doesn't hurt to precreate them
the thing that can go wildly wrong is if you don't wait for the
daemon to close the log file
particuarly if you're going to do something like gzip it
apache's piped logs avoid all those issues, because apache has a
connection open to the logger
GRRRR! Why does Options +Indexes NOT allow me to parse
index.html?
if you want directory listing, apache needs read and access
privileges to that dir. otherwise check your DirectoryIndex, do you
have index.html there? or is there a .htaccess file in
path
I know its somewhat unrelated, but...
and the logger itself is writing the log file, and rotating
periodically.
With cronolog it does not hurt if you precreate the
directories.. otherwise you might add a vhost and find apache
doesn't start
If we pipe it, wouldn't it be opening and closing files for
every write?
lamp, No .htaccess in there, index.html is there, and
readable..
no
the pipe is permanently open
http://www.eclug.net/iMac/ vs.
this http://www.eclug.net/iMac/index.html
ok then, so if we pipe this stuff, what are we piping it to,
some logger we write ourselves?
cronolog is good
is there something that we can get online?
ok
there's also a simple one in the apache distribution itself
cronolog has more bells and whistles
piped logs
piped logs is `http://httpd.apache.org/docs/logs.html#piped
or http://httpd.apache.org/docs-2.0/logs.html#piped
read all about it
have fun, gotta go
and we can separate all of virtual hosts to different logs?
ok
thx for the help
thanks rici
I would double check the DirectoryIndex
lamp, I had to stick a .htaccess in there with: Options
+Indexes\nDirectoryIndex index.html
you have to include the vhost in the access log format
Apparently having the same thing in the vhost config, wasn't
enough
then you split it up afterwards
in a separate process.
cron'd
I think you need to put Options inside e.g. Directory
section
It is
in server/vhost config
See my rafb.net above
Options is not inside Directory
in http://rafb.net/p/5run4R66.html
Right, I moved it up, and put it back... same results in
either location
I hate to use .htaccess, but if that's what it takes to get it
working...
should not make a difference but try removing trailing slash
from your Directory and Documentroot
All 160+ other vhosts work fine, and they have terminating
slashes on those values
hmm, strange. still there's an explanation, I'm
confident
ok, we'll try that
I bet there is. I wish Apache's logging was more verbose to
say something like "Saw Option line 234 in your.vhost.config, which
overlaps Option line 23 in other.vhost.config." or some
such
or something blocks later on your config?
I have, the entire .conf for that vhost is that single entry
above, and one for the mailing lists (which is outside of the tree
entirely)
(98)Address already in use: make_sock: could not bind to address
0.0.0.0:80
what os?
arch linux
Is it already running?
I was able to fix it by commenting out Listen 80 .. since
it's just for local use
in httpd.conf
O_o
umm, what port are you listeining on then?
Listen 80 is default.
You probably had multiple listen listen statements.
don't think so .. but why do I need to Listen 80 when I'm
only using it locally
Because the proper syntax is 127.0.0.1:80
if you're only using it locall, you .. thanks, arreyder
er, Listen 127.0.0.1:80
k
if you're using it locally, that means you're connecting to it
on the loopback interface. it doesn't mean that ports no longer
apply.
then I get the same error ..
check your config for mor Listen statements.
make sure you look in any included files
you're starting apache as root, right?
yes I am
skype?
skype is ca cross-platform P2P Voice Over IP Program or http://www.skype.com/ or from the
'creators' of KaZaA)takes over port 80 for no apparent
reason
no other Listen in httpd.conf
netstat -lntp | grep :80
see whats on it.
nothing ..
hi folks
Don't forget the bots
then it's apache, and multiple Listen statements :P
doesn't matter .. I'll use my distro's default apache, maybe
that'll work
hmm .. why isn't make uninstall working ? =/
huh?
Please state the nature of your computing emergency
could do with some assistance, for some reason when i am adding
a new site to my httpd.conf file and restarting the service, i get
an error message VirtualHost overlap on port 80
how can i get it working .... i just had to rebuild my box oz
the hdd died
namevirtualhost
namevirtualhost is http://httpd.apache.org/docs-2.0/mod/core.html#namevirtualhost
or http://httpd.apache.org/docs/mod/core.html#namevirtualhost
or You must specify only one NameVirtualHost directive, hopefully
with an IP address or a *. It says on which interfaces should
Apache listen to name based vhosts requests, nothing more.
I've built & installed apache from source, but it won't
uninstall =/
there is no make uninstall
rm -Rf /usr/local/apache2/
Hmm. No matches for that, arreyder.
that's unneccessary!
i have numerous websites on the box, i dont recall having to set
up a name previously?
the --force is within you, not on the command line!
then use ServerName and maybe a ServerAlias
how to remove it then?
If you do NameVirtualHost *:80
rm -r /usr/local/apache2
k
then add the vhosts for them with the VirtualHost *:80,
inside you would add a ServerName host.com and ServerAlias
www.host.com
thx
k Treader
1 sec .. trying now
thx Treader has worked ...
No prob!
1 smiling .. but stressed teccy
only another 30 sites to put back on now
lol well if you plan to grow, don't add a log file to each
site We are can't add anymore log files to ours at this
time
i have a 1TB disk .... and only allow 100MB for standard
sites
1tb disk only 180GBP
any ideas why i may be getting intermittent issues with Proxy
Error Reason: Error reading from remote server
It doesn't seem to matter how big the logs are, but how many you
have open with apache. my basic calculations put ours at 1100, we
add another and apache doesn't start. so just something to think
about (we are on rhel3)
Treader, im running CNT5
which is latest RHEL effectively and its FREE
all that matters is it works right
indeed thats all that matters
given who I work for I can't be a sound judge, but I found
CentOS to be a substandard product when I ran it.
sadmac, who u work for?
Red Hat
Red Hat is @very similar to Mandrake, except that it sucks a
whole lot less.
wow,
wow, is this a black art
sadmac, i had no problems running it ... and i been running it
for 2yrs
dare i ask this then .... anyone know anything about
QMailToaster
I went back to fedora for stability reasons when I ran
4.
if mandrake sucks more than redhat, i cant imagine how bat that
is.
if mandrake sucks more than redhat, i cant imagine how bat that
is.
bad*
never had a problem with CNT
thanks for your sensitivity
9 2007] [warn] module cache_module is already loaded,
?
I'm going to go out on a limb and say either debian or rpath
for you
ahh heres another question for this room .... i want to user
WebDAV .... how do i swith it on ... or do i have to d/load extra
bits ... i hear its like FPExts
well it seems that the rev proxy is a bit more stable when i
bind only to Listen localhost:port
I actually like gentoo, use to be a mandrake users but gentoo
was the only flavor that didnt eff its self when you do an upgrade
like kde.
other choices are slackware, debian though
ahh. gentoo would have been a good guess too
rPath scares me. The product itself is fine, but the users and
maintainers seem to be a distillation of all the world's hatred and
anger.
Its like a singularity of infinitely massive vim vs emacs
bickering
lol yah i dislike that sort of thing thats why i use
nano
Does anyone know why apache is getting a permissions error
when it tries to access a SVN repository on a RAID but it works
fine when the repository isn't on the RAID?
uDoes anyone know why apache is getting a permissions error when
it tries to access a SVN repository on a RAID but it works fine
when the repository isn't on the RAID?/u
hello, i having problems with my rewrite rules.. can any1 help
?
I use vim, but I don't have a problem with emacs users
not to state the obvious but, did you reset the permissions
after you coped to the raid
?
9 2007] [warn] module cache_module is already loaded,
i want to user WebDAV .... how do i swith it on ... or do i have
to d/load extra bits ... i hear its like FPExts
how do i fix that?
I've done it with the permissions exactly the same. And I also
went all out and set the repo on the RAID to 777 and still have the
problem.
any1 knows how to fix URL Rewrites ????
i have svn installed on a raid and its working for me, maybe
permissions on a parent folder?
here is the paste for mod
_cache
http://attachr.com/8439
what rewrites?
rewrites is 3a... well, kind of a mess... and its soon 2 am
here
its a wiki URL re writes, from old bugs url's to Clean
url
I'll give that a try KWhat. Thanks.
if its a regex problem I'm probably your man
lets see the rule
did u got it /
?
Xinc? I don't follow
let me pastebin
yeah
http://paste.uni.cc/16549
i have subdomain wiki
hello everyone!
hello everyone! is it possible to enable .htaccess to a
specific folder only? any how to? thanks in advance...
i have set it up but its giving me 404 error
http://galbijim.com
reinstall wiki
ahmetalpbalkan ?? what good would that do ?
what is the url its getting rewritten to?
fajita, you can search about htaccess at google
what?
http://wiki.galbijim.com/Main_Page
just removing the index.php thing from the URL
fajita is a bot
No, I just type really really fast.
set the [R] option on these so you can see what you're
getting moved to
or if you are
normally it is working http://wiki.galbijim.com/index.php/Main_Page
fine
oh yes
i see
i have just recognized, fajita is a bot
aah
that's what you're doing
ok
sadmac yeah..
hey
i have a problem
can you answer pls?
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
yeah i am trying to remove the "index.php" from the URL
none of what you posted seems to do that.
i have a .htaccess, i have a .htpasswd too. i'm trying to
make an authentication for a folder. htpasswd works with a password
which is created by apache2triad pack. it's root:umutahmet and it
has a hash... but i want to create new user and password. i tried
many htpasswd generators and none of them works. they're all
generates different hashes...
well i got it from mediawiki website..
waiting for solutions.
if you do a RewriteRule how exactly does that redirect? its not
a client side 301 or something like that is it ?
can u help chaning it to that it should skip the index.php
thing
i have a .htaccess, i have a .htpasswd too. i'm trying to
make an authentication for a folder. htpasswd works with a password
which is created by apache2triad pack. it's root:umutahmet and it
has a hash... but i want to create new user and password. i tried
many htpasswd generators and none of them works. they're all
generates different hashes...
I can give you a rule that will take that index.php out
ok
user" for each new user
can't create on a website?
do i have to
launch this command?
why bother using a website when Apache comes with the very tool
to create said files.
oh, I think I see the problem now
i don't know how to execute this command.
please...correct me
but
i have a question.
in the last two rules change where it says /wiki/ to just
/
htpasswd -c /etc/httpd/conf/mypasswordfile Billy
i'm still having trouble getting php working. php files are
being downloaded as application/x-httpd-php files. my conf is here:
http://apache.pastebin.ca/595524.
any ideas?
let me try
if i change my server, do i have to change my passwords. why
all generators create different passwords? and why not none of them
works?
php
php is a scripting 'language' that is enabled by loading mod_php
and AddHandler application/x-httpd-php php or http://www.devside.net/articles/php
404 Not Found error was encountered while trying to use an
ErrorDocument to handle the request.
use AddHandler instead of AddType
m
I'd have to be there to tell. sorry.
1) use nick tab-completion. 2) do what I said; don't use a
website generator.
np
remind me which version of Apache you're using
1) if i change my server, do i have to change my passwords.
2) why all generators create different passwords? 3)why not none of
them works?
my nich starts with a R not a B
what do you mean "if I change my server" ?
oh sorry
2.2.4 (on solaris)
anyone else knows about URL rewrites ?????
if i move my site to another server, do i have to update
passwords?
no.
x86 or sparc? (not that I think it matters)
sparc
so, why all of these password doesn't work?
I have no idea, but use the information I have just given you to
create passwords that _do_ work.
with AddHandler application/x-httpd-php set, php files are
downloaded
yes this works
php
php is a scripting 'language' that is enabled by loading mod_php
and AddHandler application/x-httpd-php php or http://www.devside.net/articles/php
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.
does httpd -M list the php module ?
^^
i have 30 passwords to encrypt. this usage works well eh? it
won't make a problem in your opinion..
anyone have any ideas why using a rev proxy would cause php
files to generate a proxy error ?
LoadModule can be used in server config context, not in
Virtualhost
what's the error_log say?
as long as you use the -c exactly once (to create the initial
file.
k, i'll make sure the modules is set to load in the httpd.conf,
but php5_module shows up in the module list
have you cleared your cache already?
thank you very much
not seeing anything ... hold changing log loc
i was working on this like for ~5hrs.
that's a shame.
next time, ask earlier
yeah, even after clearing the cache, php files are downloaded
with the module loaded (via httpd.conf) and with
AddHandler/x-httpd-php .php set (in virtual host)
AddHanler context
AddHandler context
what happens when you use lynx ?
server config, virtual host, directory, .htaccess
why do you set the handler in the vhost?
i've tried all Turkish irc rooms. but no one considered
me.
well this is _the_ Apache help channel...
s/room/channel/
what do you mean??§
I mean replace room by channel.
good question. i should set it in server config
there are no 'rooms' on IRC. Only channels.
AOL has rooms.
try it
sample URL
Could you please give us a URL at which the behavior is
demonstrated. This would help us troubleshoot the problem.
http://apache.pastebin.ca/595836
oh we call it room in turkey. you're right. this is
freenode
most beginners and technophobes call it room, yes
doesn't mean it's right.
"room" is shorter than "channel". it does have that going for
it.
yes, it's for beginners.
it makes you look like an idiot, and someone that has no idea
how to use a computer
car is shorter than 'truck', but they're still completely
different things
and all of the above are unrelated to Apache...
thanks everyone
ayep
bye,...
that mispractice irritates me. I felt compelled to correct
him.
php is not parsed
does it really matter, when you knew exactly what he
meant?
you must be editing the wrong config file, or editing it
improperly
call it one of my pet peeves.
RoundCube is cool
but since you've divulged that, you're going to change all the
passwords in config.php now aren't you wakejagr ?
yup
good man
Thomas Bruederli roundcube@gmail.com
thats irony if ever I seen it
uh, why?
roundcube is a webmail gateway
And?
they use gmail
Why can't they relay through gmail? Or backend use
gmail?
to be honest if i didnt have enough money to make a reliable
mailserver , Id go for gmail too .
the author of some Webmail software uses another Webmail
provider for his email....
gmail is great.
we're debating using it for our domain.
Roobarb, I'm a hosting provider, and I have a gmail address I
use also, for testing, or for mail that I don't want to go through
my own systems, or for any dozen of other reasons. Why is this
strange?
but you'd still advertise your self-hosted address to customers,
no?
with AddType text/html .php, the file shows up differently,
so i'm sure i'm editing the right file. i'm just not setting
something up correctly. now if i could just figure out what i'm
doing wrong . . .
Roobarb, It depends on what they need, and what I need. My
email (and since I get zero spam, I'm happy to blurt it out) is
@mycompany.com, which is completely unrelated to any
emails@thatclients-domain.com, so why should they care?
AddType should NEVER be used to enable php
wakejagr, What is your AddHandler for that php resource?
anyone here familiar with cronolog?
yes - I use it all the time
AddHandler application/x-httpd-php .php
no, drop the dot from .php
hello, has anyone seen apache send an HTTP response line with
version HTTP/2.0 before?
if you don't understand my point, don't worry yourself about
it.
yeah, php is what i thought, someone had .php in there
previously. doesn't seem to make a difference either way
no
hey, is there a way to parse out the virtual hosts?
weird, this must be someone's hacked apache server or scripts or
something
HTTP/2.0 401 Unauthorized Exception
httpd -S
httpd -S tells you what your virtualhost configuration
is.
^^
Cyric, parse them out of what?
Yeah, that ^^
someone probably effed up the 401 page
no
hi there
http://apache.pastebin.ca/595884
parse them out of the piped log I guess
what is the directive that allows you to create vhosts ?
hmmm... ok
VirtualHost
VirtualHost is http://httpd.apache.org/docs-2.2/mod/core.html#virtualhost
or http://httpd.apache.org/docs/vhosts/
also see VirtualHost *:80
no - cronolog isn't designed for that
anyone know know how RewriteRule
oh my
^^
lets try that again
RewriteRule?
RewriteRule is
http://httpd.apache.org/docs-2.0/mod/mod_rewrite.html#rewriterule
or http://httpd.apache.org/docs/mod/mod_rewrite.html#rewriterule
or http://httpd.apache.org/docs/mod/mod_rewrite.html#rewritelog
or tricky, because .htaccess RewriteRule acts differently than
httpd.conf (RTFM!)
vhost examples
Look at these for examples http://wiki.apache.org/httpd/Recipes/ExampleVhosts
:: http://httpd.apache.org/docs/2.2/vhosts/examples.html
:: http://httpd.apache.org/docs-2.0/vhosts/examples.html
:: http://httpd.apache.org/docs/vhosts/examples.html
fajita is getting a workout
anyone know how RewriteRule redirects? is it a browser redirect
?
Use Redirect, not RewriteRule
ok, let me re-phrase my question... I have 500+ virtual
hosts, we reached our 'open files' limit for logs I suppose, so we
are trying this piped log thing in an attempt to mitigate the
problems
but they are pointing to the same dyrectory
OK, alecs.
so we need to know which log entry is coming from where
if you use the [R] flag, its an external redirect. if you
don't, its usually an internal redirect
Cyric, store logs in mysql
not an option
Cyric, Or increase file handles in sysctl
thanks thats what i neded
also *** sorry about that
tried that, nothing is working
./apachectl -t -D DUMP_VHOSTS
VirtualHost configuration:
Syntax OK
Cyric, did you verify that its working?
i have it set at 128,000 open files
how can I verify?
That's way too high
well, it wouldn't work at 32767
sysctl -a | grep fs.file
k
as apache?
as apache is using the owner account ?
or root?
Root is fun - I can play BOFH
What is the exact OS error you're receiving?
As root
k
brb
What is the exact OS error you're receiving?
actually, the error is something that I think is eluding us
hang on
fs.file-max = 393203
fs.file-nr = 3129 347 393203
cat /proc/sys/fs/file-nr
cat /proc/sys/fs/file-max
LOL solved .... *** commented line into httpd.conf
cat /proc/sys/fs/file-nr
=
3129 326 393203
with php set up in httpd.conf as follows: http://apache.pastebin.ca/595884
(module exists, and is loaded), i'm still not getting the php app
to run. file opens in browser instead
Cyric, What OS is this? HPUX?
the other one is the 393203 num
RHEL 3
RHEL 3 is *2.0.46 http://eul0000727.eu.verio.net/blah
eek!
eek! is the server on doze too?
???
fajita, shush
hahah
hahahahah
Ok, so your file numbers are fine... log in as the apache user
and do a 'ulimit -a'
k
or 'ulimit -f'
sorry was on a phone call, looking now
hmmmm
ok, here is hte -a
pastebot it
Don't paste it here
rafb.net/paste is a good choice
hmmm...
pastebot... i'm clueless
http://rafb.net/p/ICIjIC34.html
now, why the open files is still at 42k i'm not sure
both of those lines - are they in the main config ?
Yep, its set to unlimited.. so that's not th eproblem
cause i definitely uppped that
yes
The problem is something else
You're chasing shadows
i know and I hate it
42k for open files is fine, if it never has exceeded it
What is the exact OS error you're receiving?
wait
beats ms
i had it set at 32k
then we tried adding another log file
Who cares, its not the issue
for a new virtual host
and thats when apache wouldn't restart after adding it
where did you get mod_php from ?
What is the exact OS error you're receiving?!!
if we comment the log line out
DAMNIT THERE IS NO ERROR
If you won't listen, I can't help
thats what I am getting at
no worries, i fixed that issue by removing snmp support from
php as i do not have it installed yet
Error 0?
actually, the error is something that I think is eluding
us
unless you can tell me some mystical log file i am
missing
Cyric, LogLevel deubg
er, debug
k
Check the root-level error.log
k
i am getting a new error "libgcc_s.so.1 must be installed for
pthread_cancel to work" however it is installed so
ok, i'll paste bot this section of the log... it really doesn't
seem to say much, but I haven't done the debug stuff yet
http://rafb.net/p/qr7pu936.html
thats in between the two starts
one failed, we comment out the log file entry, then start and it
starts fine
Comment out a different vhost's log entry, and see if it does
the same thing
so comment out one that is working, and see if the new one will
start?
No
or uncomment the new entry
Leave them all uncommented (which you say breaks), and then
comment out one of the working vhosts
Identify if its the number of logs, or the number of vhosts
gotcha
brb
what mpm are you using?
worker
worker is http://httpd.apache.org/docs-2.0/mod/worker.html
or a multi-threaded MPM for Apache 2.x
ok, so, if I uncomment everything it breaks, if I uncomment the
virtual host, but comment the logfile, it works
I think we're confused
on the server running php? or just the reverse proxy?
oops
oops is an understatement... :P
on the server running php? or just the reverse proxy?
Cyric, If you uncomment every single log, it breaks... as you
state. Now comment out some _unrelated_ vhost's log entries, not
the last one that you added, but some other one that currently
works.
For example...
gotcha
If you added vhost #501, and it breaks, comment out the logs
for vhost #23
will do
And see if it works
k
I'm skeptical that this is a Linux issue, or even an Apache
issue, but it might be a misconfiguration issue
But then again, you are running RHEL3, which is a joke, and quite
old
how can i fix this ? "Invalid command 'php_admin_value',
perhaps misspelled or defined by a module not included in the
server configuration
"
php_admin_value
php_admin_value is a way to force php configurations to change
for specific locations. See also http://www.php.net/configuration.changes
^^ and ##php
heh, im working off
http://wiki.apache.org/httpd/Recipes/Different_UserIDs_Using_Reverse_Proxy
worker is set on all of them but they share the same
process
ok, did that
I meant, are you running worker on both the reverse proxy and
the backend server you are proxying to?
Cyric, and with a global LogLevel debug setting, what does
the global error.log state?
doing the scenario you said, it breaks with everything
uncommented, adding the error log for #501 and commenting #23 makes
it work again
i am unsure, i 'think' both
is there something else i could be missing that would cause php
files be downloaded? http://apache.pastebin.ca/595884
has the relevant lines from my httpd.conf file. is that all that
needs to be set for php files to be executed?
Ok, so that's a clue..
ok, setting the loglevel, if I set this to debug on a production
server, isn't that a bad thing?
wakejagr, AddHandler, AddType
Cyric, Not really, you're only doing it momentarily
and does the error show up on the reverse proxy, or the
backend servers logs?
ok
how do i set it, via the main config?
It'll slow down slightly, but who cares, its better to solve
the problem than not
i agree
Yes, LogLevel debug goes in the main config
will do, brb
what should my AddType setting be for php? i've got
AddHandler.
wakejagr, first, what does 'php -i' show at the shell?
Anything?
fajita join #mepis
huh?
fajita hi
hey, ed__.
fajita kiss
Keep it simple, stupid! or complex setups (e.g. with
rewriterules) are hard to debug
fajita kiss me
huh?
ed__, please stop
ok, we are now running with debug level
scripts
scripts is there
log level
log level is set to debug
Right, so now stop and start the server after uncommenting
the log entries that break it, and watch the log
crap! php is not in the path
i dont have them separated ... let me do that
will do
wakejagr, It doesn't need to be, for mod_php to function
wakejagr, I asked you to do that to see if php itself was
working
anyone in here able to help me with a mod_python question
real quick ?
wutang3, just ask
ok. it works: outputs information about what was compiled in,
etc
are you running two apache instacnes on the same
machine?
wakejagr, right, good.
rici script does not work very well in that guide
no
well yes
lol
http://rafb.net/p/v9BAKK67.html
oh cool, I didnt see what guide you were following
http://apache.pastebin.ca/index.php
http://apache.pastebin.ca/595932
i have index.py, and monitor.py where monitor.py is a module,
index.py handles the requests... when index.py starts, it imports
monitor.py and for some reason a function in monitor.py is being
called... i have a function Monitor.SendAndReceive(self, request)
and it is being called with "" as the argument to SendAndReceive...
any ideas why this would get automatically called? i could see a
constructor getting called but not a member function in class
Monit
Cyric, did you make the corrections indicated?
connections? you mean set the error log and try to start it
and make it break?
where did you get mod_php from ?
if so yes
wutang3, Sounds like a great question for #python
err, corrections*
Cyric, StartServers, ServerLimit, etc.
no, not yet
so i guess i am starting n+1 instances of apache...
should i be using prefork or something
i have libphp5.so, but it was installed by someone working on
this before me. should i look into getting a new version of
that?
yes, probably for the server instance that you are loading php
on
no, I'm wondering how it was built
Cyric, ServerLimit 1024, StartServers 50, MaxClients 512
Related Topic:
DirectoryMatch -private and Location -private both match localhost-private but which one is better for security