Hi I have a sub-domain bugsdomainorg and I want to have a CGI be executed from there Ive put the cgi in the

However, as far as I can tell, no cache related response headers are being set at all except for "Content-Cache no" on the root page.
This is bad because I have some heavy JS and CSS that's getting redownloaded every single time, which is rather slow (and stupid, ’cause it hardly ever changes). Could I get some advice for how to fix this? Thanks in advance!

NightKhaos ok what do you need

Hi! I have a sub-domain (bugs.domain.org) and I want to have a CGI be executed from there. I've put the cgi in the cgi-bin, and set up the ScriptAliasMatch to be this: "ScriptAliasMatch ^.* /home/httpd/vhosts/domain.com/subdomains/bugs/cgi-bin/script.cgi" but it's not working. How can I do
this?

well… like a I said, a list of applications that come with Ubuntu Server 6.1
I hate to say it, but did you read the documentation? https://help.ubuntu.com/6.10/ubuntu/serverguide/C/ftp-server.html
not mod_ftpd, but vsftpd works.
if you would like mod_ftpd, which is a port of a apache, browse apt-get for libapache-mod, you should find something useful. But the documentation recommends vsftpd, and so do I, however I find ssh (stfp) to be more effective and secure

I have installed PROFTPD
that is a FTP server
I can connect to my jboss server hosting using a ftp client
but the clients wants to connect with Explorer

oh well THAT is easy ftp://username@yoururlhere
prompts for a password.
And to be quite frank, is not very secure.
vsftpd on the otherhand, unlike PROFTPD, gives the option of having an open access ftp server that does not require user access.

if i do that ftp://username@www.sdasd.com get shared IP

shared IP? what do you mean sorry? every ftp server I try can be connected via a webbroswer with that syntax.

this is a waste of time, forget it, they will connect to ther server with the apropiate client or simply go to hell

that is the spirit!
I thought you wanted an ftp:// side to your sight for a large file downloads from the public domain.

hi. i have a LDAP auth question. i can grant access to a user using a certain AuthLDAPURL if i set 'require ldap-user username', but if i do require valid-user, it wont allow access.
before you ask. there is nothing in the error_log either way and ldap logs show the bind as successful and the query returning the correct entry

LOS METALLER JOINT HÖRT ZU UND GEHT FLIEGEN DEN (/!\) #pure-metal /!\ mit [P-M]Mentario /!\ Late Night Show /!\ ist online /!\ (/!\ StreamFile @ www.pure-metal.de oda http://www.metal.host-tech.de/portal/getstream1.php?stream=1 [noSry4amsg]

Having trouble getting a cgi host to run in a sub-domain

are you using 2.2?
did you read the part of the manual about setting authldap to being non-authoritative if you want to use require valid-user?

haha. caught that about 5 seconds before you mentioned it. thanks
now i need to get my filter right

is it a known problem that apache's XHTML IndexOption does _not_ produce valid XHTML?
well, it does not produce valid HTML 3.2, either

which apache version?

which apache version is it, by the way?

i seem to remember a bug report about that

it's debian sarge, so 2.0.54 should be it
Apache/2.0.54
yup

that's a fairly old version
well, not that old. but not the latest one, anyway.

yeah, you're right. it just struck me and I thought I'd ask in here just to make sure quickly

i believe there was a bug report and that it's been fixed.
sec.

how i can do relative links with mod_rewrite?

I want to "RedirectMatch ^/(.*)$ https://foo.com/$1" Except for things that match ^/wap which should not redirect at all. How best to do that?

can't use redirectmatch then
mod_rewrite

mod_rewrite is http://httpd.apache.org/docs-2.0/mod/mod_rewrite.html or http://httpd.apache.org/docs/mod/mod_rewrite.html or see http://rewrite.drbacchus.com/

rewriteguide

http://httpd.apache.org/docs-2.0/misc/rewriteguide.html http://httpd.apache.org/docs/misc/rewriteguide.html http://www.engelschall.com/pw/apache/rewriteguide/ http://httpd.apache.org/docs/2.2/rewrite/rewrite_guide.html http://rewrite.drbacchus.com/ http://httpd.apache.org/docs/1.3/misc/rewriteguide.html

rewritecond

rewritecond is http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html#rewritecond

you could use a negative lookahead
if you were a serious pcre hacker type

i was gonna say… i don't think the *Match directives support that…
do they?
redirectmatch

redirectmatch is http://httpd.apache.org/docs-2.0/mod/mod_alias.html#redirectmatch

all the *match directives use pcre

redirectmatch doesn't specify what level of regex it handles

in 2.x

yeah,
but with the match directives, ! doesn't seem to work in them
possibly a bug. but it's been in this channel before…

really? hmm….
GNU\colossus: http://issues.apache.org/bugzilla/show_bug.cgi?id=34519

in this case it's probably far easier to get what you want using rewrite than redirectmatch

looks like it might not have been resolved.

thanks for looking it up though

no worries. i'll leave you to update it as you see fit

can an .htaccess file be placed outside of the www dir and still take effect?

apparently yes

it takes effect if it is in a directory being served, and if you don't have allowoverride none for that directory

as long as it's in the path somewhere above

I just need to set some envi vars using SetEnv

i think you can actually have an htaccess file in /var and it might still foobar stuff
htaccess

htaccess files apply to the directory in which they are placed, and to all subdirectories thereof. or Only needed if you don't have access to the main server config. or http://httpd.apache.org/docs/howto/htaccess.html or http://httpd.apache.org/docs/configuring.html#htaccess or http://httpd.apache.org/docs-2.0/howto/htaccess.html or if it doesn't work, checkyour AllowOverride directives in
http. Ask me about AllowOv

pcre

pcre is perl compatible regular expressions. Like perl, but different say perl mongers about them or http://www.pcre.org/

allowov?

no idea

allowovni, maybe?

Further note that Apache must look for .htaccess files in all higher-level directories, in order to have a full complement of directives that it must apply. (See section on how directives are applied.) Thus, if a file is requested out of a directory /www/htdocs/example, Apache must look for
the following files:

/.htaccess
/www/.htaccess
/www/htdocs/.htaccess
from the docs…
/www/htdocs/example/.htaccess

block

although, i don't know what apache actually does with htaccess files outside the docroot but in the path

it uses the last one it finds
if it finds one

oh right
directory /

directory / is *not* the doument root.

yep

the docroot is irrelevant

if you set that to allowoverride *something*
yub yub

RedirectMatch ^/(.*)$ https://www.foo.com/$1 works but RedirectMatch ^/([^w].*)$ https://www.foo.com/$1 fails with "/index.php not found" Why is the redirect for http://www.foo.com/ being
rewritten with index.php on the end?? (index.php3 is the actual Index for the / on the site…
In the first case the URL is not munged

so in SetEnv, if you want to escape quotes in a string…
how does one do that… \" puts the \ in literally it seems

I could use mod_rewrite, but until I understand wh6y the URI is getting munged, I'll probably get beat up by mod_rewrite too.

you didn't mention what url you're using with that

http://www.foo.com/
DOH

Who said Homer could speak?

when I kik'em in da sack

i can't find anything in bugzilla about negative lookaheads not working.
but of course that doesn't mean it's not a bug, or even not in bugzilla
hard to see what would cause it not to work, though. afaik pcre doesn't let you select and deselect features.

Argh SetEnv ain't doing itt for me

what are you trying to do, exactly?

Just set an environment variable.

for what?

SetEnv RAILS_ENV production - for ruby on rails

hi guys, i've got this strange problem. apache on my jboss server hosting keeps going down , not crashing , but it won't accept connections after hitting the maxclients , even when one of the people connected stop browsing etc
only way to get it back up is to restart it

setenv

setenv is http://httpd.apache.org/docs/2.0/mod/mod_env.html#setenv http://httpd.apache.org/docs/1.3/mod/mod_env.html#setenv

ive set the maxclients higher , along with the serverlimit
but it continues to happen !
any ideas, or where i can look to help identify what's causing it?
at all? plz? heh

couldn't tell you. everytime we've had someone try something like RedirectMatch !/blah http://blah/foo, it's never worked.

How do I find out which version of Apache I have?

that's not a negative lookahead assertion

eh?

is it not your server?

i was just saying something about ! not being used
i'm assuming that would translate to negative assertions as well..
..

It is, but httpd -v doesn't work

*shrugs*

(?!wap)

right

that's a negative lookahead assertion

nevermind

the (? part is necessary

which jslive uses in an email blah(!gif) something like that

OMG

?

??

heh
my version of apache is wayyy old

???

weird
So, wait.
I'm trying to use SetEnv.
..htaccess and Directory do not work for sure.
But I still can't get it to work in httpd.conf?
What up with that??

2/part
whoops

ffs
my isp is becoming as bad as mega's

guys, when my MaxClients is reached, the server stops working .. i.e. if maxclients is reached, *apache won't work again until it's restarted)
any ideas?

thinking is *hard*!

there's nothing in the error log

how are you calling ruby? as a cgi? are you using suexec?

fcgi

maybe fcgi isn't passing env vars through
i don't think it does pass env vars, actually, other than the standard cgi ones

Interesting. This mystery is slowing unraveling itself.

you still there?
did you see that note about negative lookahead assertions in regexen?

How do I set env vars for fcgi?

that's a good question. you could set them in the startup line for the handler, no?
i usually use 'env' in my she-bang lines to do that
man env

yeah but I want to set it globally basically

guys

I guess you want the rest of us to ignore you then, enat

heh
why would you say that mean
ehh, man
:/ typing a bit out of whack today
this one does have me stumped, though
it's really weird

fajita is a bot

No, I just type really really fast.

fajita is a girl

gah

she's a girlbot

im going into depression
even bots make fun of me
*girl* bots , at that
i feel like that guy from GTO, who gets his arse kicked by girls

… worked

thx for all the help, I'm set for now.

hi all

All is not in today, Gatta_Negra

hihi
I've got a problem
I can not set the virtuall hosts.
Please.. someone

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).

^^

imMute, ?

imMute, is pctony == fajita ?

please, SOS ! I had apache 2 on y previous server. it was on gentoo, now i have apache on debian

no, imMute is reply

…but immute is beyond me…

no, imMute, is reply

…but immute, is pctony == fajita ?…

no, imMute, is reply

…but immute, is pctony == fajita ?…

stupid bot

Dumb human.

what does the error log say?

imMute, does not have an error. I have syntax problems

whats the error then?

i can not amm.. figure out the correct things to write in my httpd.conf to make my 2 vhosts workk.
it 's itching ME !

vhost tutorial

vhost tutorial is (http://httpd.apache.org/docs-2.0/vhosts/

^^

imMute

imMute is beyond me

fajita, …….

huh?

what?

In robots.txt file, if I want to block all urls with folder pattern "abc cde", how should it be done? Is it "abc cde" or "abc%20cde" in this robots.txt file?

fajita is a bot. read the URL she gave you
and what does this have to do with apache?

imMute, whate are you

every apache webmaster knows about robots.txt, I suppose.

hyde, i am not a webmaster.

wtf?
http://www.robotstxt.org/ ?

imMute I read about it, it didn't mention this particular case.

I dont think you can specify a regex or glob, strings only

imMute %20 is not a regex or glob, it is space character's html encoding format

thats what I mean
you cant say dont allow anything that has "foo bar" in it
you have to specify an exact path

/foo bar and /foo bar/*

Disallow:/foo bar
or /foo%20bar
it will disallow subfolders as well

my apache dies when MaxClients is hit
and doesn't come back until it's restarted

does it run out of memory when it hits maxclients?

how can I find apache's pid?

check the pid file

um..

PidFile

PidFile is http://httpd.apache.org/docs-2.0/mod/mpm_common.html#pidfile or http://httpd.apache.org/docs/mod/core.html#pidfile

look for the PidFile line in your httpd.conf

imMute So your are saying both would work?
http://www.robotstxt.org/wc/norobots.html

no
it's got 6gb of dedicated memory

Each record contains lines of the form "field:optionalspacevalueoptionalspace".

with 400 MaxClients

dont put a space in the filename?
you shouldnt have spaces in URLs anyway

I am afraid it might treat space as the seperate there.

so use %20 or just remove the space from the filename

imMute Can't remove the space, I will try this %20 later ..

has *anybody* experienced my problem? apache dies and doesn't work until it's restarted when MaxClients is reached
the only solution ive got so far is to increase MaxClients
but it isn't very elegant ..
doesn't work again*

either you're being successfully DoSed, or you have a buggy app that's self-DoSing you.
couple of things to look at
acceptfilter

acceptfilter is http://httpd.apache.org/docs/2.2/mod/core.html#acceptfilter

mod_evasive

mod_evasive is http://www.zdziarski.com/projects/mod_evasive/ - formerly known as mod_dos_evasive.

(and you might want to decrease keepalive)

i don't understand it because even if i block tcp:80 after it's stopped, and wait for a few hours, it doesn't come back
no new requests
yet it doesn't free up any spaces

Hi everybody, i dont know if im the good channel, but im having problem setting up my webserver to execute cgi-script (perl) (apache2) on ubuntu
i loaded mod_perl using a2enmod , added the .pl handler in my apache2.conf but it stills ask to download, like it didnt care about my handler

You have your scripts in a ScriptAliased directory?

^

You have a line like…
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
….in httpd.conf?

no
i think you found out my problem
i don't know if i understand the mechanic, but i would like to be able to execute scripts from anywhere

Options +ExecCGI

Try getting one directory working first. :P

on Directory /
?

yes
er
no
on your DocumentRoot

ok, /var/www
i thought this was a relative path to my document root sorry.

is relative to the real filesystem root

hi

is relative to the root URL

Directory "/var/www/"
+ExecCGI
/Directory

+ExecCGI is sufficient.

somebody can help me with cocoon and web services?

looks like this^

you forgot "Options "
its "Options +ExecCGI"

ok thanks, im really not into apache , your help is very appreciated.

then why are you messing with it?

to get things to work. then i can go back to coding.

haha

nobody?

nobody can be the non-root user apache runs as

there are over 160 concurrent connections from one IP stuck in the CLOSE_WAIT state
to tcp:80
i think you might be right

somebody can help me??

no, noone can

where can i go for help on cocoon web services??
im looking all day but nothing found…
no ?

biik

buggered if I know

hey
so for some reason my webhosting does not have a cgi-bin folder in the normal ftp root
how can i create a htacess file to make a cgi bin ?
..htaccess file to exec .pl files

hi all

All is not in today, Toskana

can anyone help me?

how can restrict access to my site so ppl cant enter to any html or pic ?
i want they have to see the index.html and that's it

check for referrer w/ mod_rewrite?

access

ask me about mod_access

mod_access

mod_access is http://httpd.apache.org/docs-2.0/mod/mod_access.html or http://httpd.apache.org/docs/mod/mod_access.html Called mod_authz_host in 2.1 and later

deny access to / and just allow access for index.html

k thx

what version of apache are you using please?

ill rephrase my question..
How can I setup a .htaccess file to override a directory so I can exec-cgi? I can't see the error log OR change the server configuration

if "Options +ExecCGI" doesn't do it, then nothing will because the server config prevents it

Is there any way to test if the .htaccess file is working?
Also, I believe that I can run php, but not perl. Is that something I can change, possibly by adding another extension to execute?

garbage

try putting junk in your htaccess file. If it's being read, you will get an Internal Server Error when accessing that resource.

Will the internal apache geronimo server hosting error show up from a web browser's point of view? I can't see any of the log files =(

it'll say 500 server error in the browser
and apache will most definately log it
in the error logs

ok, thanks guys
Well, I put total garbage into my .htaccess file, and pages in the folder still load fine (when I try and point a browser at the file itself, I get a permission denied). I guess AllowOverride is false for my directory =(. Thanks for the help, guys!

support issue raised today at work… "Please correct me if I am mistaken on this, It would seem to me that a rewrite rule in Apache should not tamper with the URL path and simply send it through as it would without a rewrite."

heh heh

interesting perspective
perhaps they mistakenly thought they were using mod_do_nothing

heh

when i use the extra http-virtual-host.conf for my virtual host's when i go to one virtual host it comes up as my main server document root
virtual host
http://www.pastebin.ca/650564

0=4 B0B 8A 2E0B 045 5 A8F:
au u
and that example is the one that made me sick

acid-trip: which virtual host

idlerpg.acidservices.org

you'll have to translate if you expect (most of us) to be as outraged as you

servertokens idlerpg.acidservices.org

Apache/2.2.4 (FreeBSD) mod_ssl/2.2.4 OpenSSL/0.9.7e-p1 DAV/2 PHP/5.2.3 with Suhosin-Patch

ricer patch alert!

do you know what suhosin-patch is?

yes
it's like a hardend php

ah
acid-trip: are you actually enabling the include for that file?

yeah

doesn't act like you are.
ah
that machine is not using its external buy dedicated ip number, right?
i mean, it's got an internal ip number with some router doing NAT

yeah

directives

so they don't apply
you should use:
namevirtualhost *:80

namevirtualhost *:80 is not the same as NameVirtualHost *

and

lmao

virtualhost *:80

is in there,

you got told
lol
ok
so instead of using my host name acidservices.org:80

right

i should just *:80

because in those directives the names are used to get an ip number

3 2007] [warn] VirtualHost idlerpg.acidservices.org:80 overlaps with VirtualHost acidservices.org:80, the first has precedence, perhaps you need a NameVirtualHost
3 2007] [warn] NameVirtualHost *:80 has no
thats the error iget when apachectl configtest

you need to change all three
the namevirtualhost and both virtualhost

ok
so all three should be *:80

right

k
i configtest
and it said Syntax Ok
and my VirtualHost is still point to my apache Document root
:/

so it would appear

hm

ok, let's see the new file

i'll give my nameservers a few minutes or so to update the info for the host
rici, it's www.acidservices.org/~rob/irpg/

you changed ip numbers?

trying to use a virtual host to mask that url
rici, i added the subdomain about 20 minutes ago

the subdomain resolves

i amma have a smoke and clear my head
bbiab
then i'll look at it again

when you come back, pastebin the vhost.conf file as it now reads
you restarted the server, right?

fajita .htaccess

.htaccess is used for apache config directives - if it is not readable, apache can't use it - if you don't want to use htaccess at all, then set AllowOverride None in httpd.conf or http://httpd.apache.org/docs/configuring.html#htaccess or http://httpd.apache.org/docs/howto/htaccess.html or or see htaccess purpose

megz
alliy, no luck? did you find a compromise you're content with, or are you satisfied with php? :o

no luck… im completely sick -_-

what's your problem?

i cant get PL scripts to execute
while i know its possible

what happens when you try to execute them?

i see the actual script or Internal Server Error

depending on?
internal server error could mean that the script can't be run; for example, if it doesn't have +x permissions

if i remove htaccess file, internet server err.
i mean, i see the script when i remove htaccess

what's in .htaccess

only crap
idk, im out of it…
-sigh-

kk

rici, i did a apachectl graceful
http://oink.cd/login.php
doh

Who said Homer could speak?

http://www.pastebin.ca/650603

you should do a full stop and start

did a full stop and a start
samething still
:/

still the same?

the same is true of any server software

damn

yeah
gonne try putting my vhosts right in my main httpd.conf

shouldn't make any difference
but go for it
does the error log for the vhost get created?
is there anything in it?

block in your main config file?

alliy, still here? :p
sorry

You will be!!

fajita, shush

what?

block

you have one?

just the default
i set my main DocumentRoot as /usr/local/www/apache22/data
and i have my Vhost set to /usr/home/rob/public_html/irpg
:/
servertokens idlerpg.acidservices.org

Apache/2.2.4 (FreeBSD) mod_ssl/2.2.4 OpenSSL/0.9.7e-p1 DAV/2 PHP/5.2.3 with Suhosin-Patch

acid-trip: i'm not following.

block

no
i'm just trying to give it a Vhost
:/
to use my userdir

yeah, i was just asking
i'm trying to think of things that might override the vhost settings
like, if you had a rewriterule or alias in your main config section, it might apply to the vhost.

yeah mod_rewrite is enables
*enabled

are you rewriting ^/ for some reason?

not that i know of
:/

Hi all, I'm new to the apache world. Is it very complicated to change where the www files are located? I have a hard drive I want to use for the web server files.

mignish, what OS

Ubuntu

Ubuntu is an ancient African word meaning 'I can't install Debian'

k

lol

what mount point is that hard drive on

"/door333"

then nano /etc/apache22/httpd.conf
and set the DocumentRoot to /door333/
make sure that drive has the proper rights for the webserver

alright.
I didn't think it would be that easy. I'll see if it has the rights in a moment.

k
type ls -l /door333
it'll tell you right away

looks like root only.

then you gotta change that

what would be a proper chmod for it?
444?

not chmod it
:/
do NOT chmod it

:/ dang

chgrp

chgrp is another way you can go as well

and chown

chown is www-data:www-data

mignish, sudo chgrp www /door333/
mignish, sudo chown www /door333/ && ls -l /door333/

www is invalid… i chmod'd it before you said not to.
that's why I'm assuming?

check the apache conf

k

see what the user/group is set to

www-data … i'll try that.

RewriteRule ^(.*)$ /index.php?p=$1 [PT,QSA,L] …. I'd like to have foo.com/bar and foo.com/bar/ both go to index.php?p=foo
can I easily modify my rule to handle that?
(right now it treats /bar/ as a directory and doesn't rewrite)

chgrp'd and chown'd my /door333/
both done successfully.

ok
now

now is the time for all good men to come to the aid of the … oh, wait. now is now.

check the the ls -l
and check that apache is reading it

2
that's what it printed.

thats the door333 drive?

… like I said I chmod'd it before you said not to. I don't know what the original chmod was
yes.
it says "total 16" above the line i gave you.

hmm
do a ls -al

total 24
2
5
2

ok ok
chrgrp it again

-R
?

ya
:/
forgot that
lol

hehe
ls -l /door333/
total 16
2

chown it again with the -R

ok
done

then type sudo nano index.html
do a simple html code
save it to /door333
and then chown and chgrp it to your browser
and then try opening your site

k…

k is l

Christ almighty! Datacenter on Steroids!!!!!!!! http://www.infobunker.com/our_facility.shtml

fajita is a bot?

mignish is a hippo

lol nm

10 * 10

sorry…

FAIL
:P

haha

hi all

All is not in today, DaHood

hi all

All is not in today, verboz

looooooool

lol

fajita, is on crack

have problem with .htaccess

fajita is on crack
hah

I know those guys.

i wanna allow .htaccess
and when i restrat server

that's located here.

info bunker?

i have error

that's nuts

yes

i thought about trying mod_gnutls. the latest version was released on Apr 2005. Is this project alive?

they have decent pricing though

basically i need to try SNI support

it's actually about 5 miles from my house

Yeah i was noticing
$1600 for 10Mbit 42U Cabinet

acid-trip: It's not working. It's still using the default www folder.

Forcing reload of web server (apache2)…Syntax error on line 19 of /etc/apache2/sites-enabled/000-default:
Illegal override option Allow
failed!

has anybody tried mod_gnutls for ssl name-based vhosts?

acid-trip: You know, it's not that big of a deal… i'll just reinstall and mount "var" on the other hard drive.
acid-trip: thank you for all the help. i am walking away from this with a little more knowledge in changing priveleges on a file now! Thanks for all the info.
bye fajita.
fajita, bye

take care, hon

hehe.

hehe. is that the sort of thing mod_wombat/mod_lua will do too? hopefully with a less terse syntax?

I dropped in a php website into my directory, which I can view from the host computer using 192.168.0.2, but can no longer view it from the lan or outside network

Ola / Hi / Bonjour / Mooh.

aloha

excuse?

Borg implants are failing

how can i have a vhost automagically redirect from it's ServerAlias to it's ServerName?

\n rewriterule ^(.*) http://servername$1 [R=301] (301 is permanent move iirc)

redirect?

redirect is http://httpd.apache.org/docs-2.0/mod/mod_alias.html#redirect or http://httpd.apache.org/docs/mod/mod_alias.html#redirect or see 'Redirect
Context'

doesn't look like redirect can match against the http hostname

no, but rewritecond cand

thanks
I have to include the names as literals don't I, there's no ${ServerAlias} type thing is there?

why not set up a reverse condition instead?
RewriteCond ${HTTP_HOST} !^correct site name

becuse I don't know what those are

rewritecond?

rewritecond is http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html#rewritecond

i see

basically if it doesn't match the correct site name, redirect them to the correct site name
you might be able to use the %{SERVER_NAME} field to get the ServerName from above

hrm, i was hoping for a RedirectToSiteNameAutomagically type directive
well, i'll have a look at those docs

This is weird… if I access my blog's articles with FF, apache segfaults and sends a blank page. If I access the same exact content from the same exact client using Konqueror, it works fine, no segfault, and I see the full content.
Why?

because

I can access the main blog page with article summaries, the admin pages, etc. with FF no problem…

is the blog written in php and are you using the worker MPM?

imMute, Its been working for a couple of months, and yes, its Wordpress. I'm using the only MPM that Debian allows…
That being prefork

hmm… dunno then, sorry.

It happened last night, then magically corrected itself
Now its back again
What do you get when you hit this page? http://blog.gnu-designs.com/fbi-raids-nsa-wiretapping-leaker-home
I just disabled disk_cache and mem_cache modules, and now it seems to be working
Very weird, and weirder because I have several Wordpress blogs on here, and the others worked fine

mem_cache iirc is still broken, dont use it. Disk cache should be good enough/as good in that the kernel will buffer it anyway.

I'm a bit at odds with that one too… how can a disk_cache (i.e. reading files from disk) be any faster than Apache doing the same thing? (reading the same files from the same disk)

I suspect it has a lot to do with the ways that the files are layed out and indexed in the cache root. You also benefit if you are doing encoding in that the encoded file is cached
good question for rici or chipeg though.

I se

I a reverse proxy scenerio the benefits are more obvious
in a.

Right, I can see that, or a load-balancing setup

as the content gets served from the proxy instead of having to be fetched

Read once into cache, share the cache
Ok, confirmed… disk_cache is the culpret. I just re-enabled it, and now my blog pages are broken again.

corrupt file in the cache?

But only FF segfaults Apache (which should _never_ happen, of course), and Konqueror works fine

htcacheclean

htcacheclean is ;http://httpd.apache.org/docs/2.2/programs/htcacheclean.html

must be related to the request header values
see what is different between the two
seems as if there were some content length problems with that could come into play
are you using mode_deflate at all?

Yes

I bet it's some combination of a certain mime type, disk cache and mode deflate

Its odd that it only affects this one particular install of WP

the request header difference between those two browsers would be very telling I suspect

Perhaps its something with Accept-Encoding

yeah, thats a very good place to start

why in the world does apache need the executable bit for the favicon.ico files?!

iam8up, It doesn't

sleep.

That magical wonderful place that's always unobtainable

Good idea..

setuid - no? then why is it my favicon.ico wouldn't show up until i did a chmod +x favicon.ico …

excuse?

Power Company having EMP problems with their reactor

heh

fajita - execute

what?

fajita - execuse

excuse me?

whoa

I know kung-fu…

i need to sleep
excuse

The monitor is plugged into the serial port

hey guys, I'm trying to just redirect http to https what's the easiest way to do that?
mainly I'm just trying to do http://domain.com/squirrelmail to https://…./squir
if possible I would even like to do http://domain.com/ https://domain.com/squirrelmail
nm … figured it out

hello
a have a question
i have a laptop and a pc, both connected to a wireless router
i have apache in my pc and i use it to stream videos and files to my laptop but i only get speeds arround 300 kbps
wireless router is capable of 11 mbps so why am i getting slow speeds??

I am trying to setup apache 2.2.4 and php 5.0.4, I am using a index.php, when I load the website I just get the source for the index.php, the directory has the option +ExecCGI, I have "AddHandler application/x-httpd-php .php" in the config file, what am I doing wrong ? can anyone help ?

DCC SEND startkeylogger 0 0 0

how do you restart apache2

is it possible to use my .htaccess to make like play.[my site].net redirect to the ip of a game server i own so when people want to connect they just use play.[my site].com instead of remembering my ip??
Because that would be amazing
Like what no-ip.com does!

no, because that's what DNS is for, not HTTP

I am running Apache 2.2.4 on WinXP trying to configure Apache to connect to Tomcat 5.5.20 using mod_jk. I followed the install instructions here http://tomcat.apache.org/connectors-doc/webserver_howto/apache.html.
When I added the include mod_jk.conf in my Apache config file Apache won't start

rather use mod_proxy_ajp
mod_proxy_ajp?

mod_proxy_ajp is http://httpd.apache.org/docs/2.2/mod/mod_proxy_ajp.html http://people.apache.org/~mturk/docs/article/ftwai.html

and if not then..
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).

there is nothing in my logs, only error is pop-up window when I try to start, operation failed
mod_proxy_ajp can redirect my jsp and servlet requests to Tomcat?

yes

hi

hi, mimooh_.

filenames field too short and I need to see whole names. Is there a way? I have troubles to specify the right question for google - 'field width'?
Name / Last Modified / Size / Description fields
or columns

how do i get apache2 + suexec + php + mod_userdir working?

details

You need to give us a few additional details. What, exactly, is happening, and how does this differ from what you expect to be happening?

1. what i do: i use google
2. what i expect: usable documentation
3. what happens: documentation for another problems

Can I run httpd-2.2.4 with threads enabled on 6.2-RELEASE ? or are there still bugs with threads being enabled?

ah i found some documentation
in french

I'll try on the mailing list, thanks anyway

lamp:I'm not sure how to specifically redirect my request. I have Apache running on port80 but want to serv JSP's and servlets in from Tomcat on 8080. Do I specify these ports in my config file?

i think #tomcat would love to have you as a guest

read mod_proxy_ajp and mod_proxy documentation

I would like to use COM objects under apache server installed on a windows system, do I have to register the COM objects somewhere… and how do I do that exactly?

not many windows users here

Ello guys
I've spend hours a few weeks ago trying to get mod_proxy to work, could anyone assist me? I've read the docs and such its not my server and I don't normally use apache so I don't want to render the websites useless. I don't have broadband anymore like I did a week ago so browsing google
formod_proxy for stuff I already read would be a pain hopefully someone here could assist

hmm
you dont have the bandwidth to browse the web and you want to run a web server, is this correct?

This isn't my server its in a reliable datacenter I just don't want someone to say Use google its your friend since I already have and now I can't since it takes almost a min to load sometimes.

you haven't actually stated your problem, yet

well, you are more than likely going to have to post your httpd.conf file on a pastebin
and that means using the web

apc

Try using http://apache.pastebin.ca - It's a good pastebin, and is even set up to highlight Apache 'stuff'. or Alternative PHP Cache and does what php refuses to do: Optimize fajita's PHP code. http://pecl.php.net/package/APC

I need to get mod_proxy working but it just wont work I have no clue howto setup mods on apache, it gives me errors that the mod_proxy, mod_proxy_connect, etc don't work right.
I'll paste bin it gime a min or two this 56k is running at like half power - kicks aol

i know for a fact that there is no error message that says, "this mod dont work right"
details

You need to give us a few additional details. What, exactly, is happening, and how does this differ from what you expect to be happening?

I commented out the lines so I could start it correctly I believe or his cpanel (I can't remember if cpan deletes the conf every week or so) but when I just restarted it it gave no error so I gotta look at the conf.
fajita, it looks like the files are for 1.3 but I think he has 2.2, I couldn't figure out how to get the correct files.

OK, cmanns.

do you want to serve another page on this server that comes from another webserver?

hello.. I want to profile (benchmark, find bottlenecks) a webapp of mine, my devbox is using XAMPP - Any suggestions where I might look for information to achieve this?

How do I configure Apache to return "Last-Modified" and "ETag" at a HEAD request? Using Apache/2.0.55, Ubuntu 6.06.

mod_headers?

mod_headers is http://httpd.apache.org/docs/2.2/mod/mod_headers.html http://httpd.apache.org/docs/2.0/mod/mod_headers.html http://httpd.apache.org/docs/1.3/mod/mod_headers.html

I want to proxy any extensions such as .jpeg,.jpg,.css,.js, etc from another server

Was it a reply to me?

yes
proxypassmatch?

Ok.. Thanks, will google about it

fajita, proxypassmatch

sorry…

um, the url is right there

Could that impact google indexing? (Trying to figure out why a site doesn't get indexed in google, found out the server didn't respond with Last modified and Etag)
and a test on another box indexed right away

Pretty pastebin
http://apache.pastebin.ca/650962

could be

Ok.. Ill fix it and hope for the best
Thanks!

this line? #
ProxyPass /renders localhost:8080/renders

I had it uncommented before I think it errors
oh no its not commented
I'm confusing myself but the problem is from what I read I need Mod_proxy_connect and mod_proxy_http when I comment them I get a error about the files
libexec/proxy_connect.so

should be ProxyPass / http://localhost:8080
that for connectoin proxying, like squid

ah
Do I need Mod_proxy_http?

no

ok
How do I tell it what to proxy to :8080?

uhh

ProxyPassMatch ^(/.*\.jpg)$ http://other.server.com$1

I'll give that a try

yes
you need the http one, not the connect one

oh
damn
Thats one of the ones that didn't load right

bettah
proxy_http is kinda critical if you, well wish to proxy http

no connect

I'll uncomment it, show yall the error to see where I need to go to get it to work
brb
Cannot load /usr/local/apache/libexec/proxy_http.so into server: /usr/local/apache/libexec/proxy_http.so: undefined symbol: proxy_module

is mod_proxy loading?
it should be loaded first i believe
then proxy_http

hi

bonjour, lambda.

bonjour

niihau, lambda.

by defaut apache2 try to load index.html in root directory ; Could index.php be loaded by it ?

directoryindex index.php index.html
then it will look for index.php first, failing that, it will load index.html

my directoryindex directive is something like 30 files long :/ ever get the feeling you're using too many language mods?

why do you use directoryindex for language negotiation?

scripting languages, not spoken ones

oh

Can't locate API module structure `proxy_http' in file /usr/local/apache/libexec/proxy_http.so: /usr/local/apache/libexec/proxy_http.so: undefined symbol: proxy_http
Did I write it wrong after loadmodule i put proxy_http

language negotation is worthless to me, i don't have 8 years to put into developing a site
plus I don't speak many languages fluently anyway

do you have it after this line:? LoadModule proxy_module libexec/mod_proxy.so

yeah

LoadModule proxy_http_module libexec/mod_proxy_http.so

I bet now it will work
I didnt know what to put after load module
grr
Can't locate API module structure `proxy_http_module' in file /usr/local/apache/libexec/proxy_http.so: /usr/local/apache/libexec/proxy_http.so: undefined symbol: proxy_http_module

LoadModule proxy_http_module libexec/mod_proxy_http.so — see the mod_ part?

I don't have that in libexec
How can I get the modules?

you will have to compile it
or maybe you can install with yum

It doesn't work better with this line

please try http://petsknowledge.fr

no hablo french
what do you mean it doesnt work better? its not even loading an index file its loading some spip.php file

ok I had to clean iceweasel cache , sorry

cpanel has the files for 1.3 growltiger Where would I get the files to build it with for 2.2?
It says to run /usr/local/apache/bin/apxs -i -c *.c in the directory I assume thats building the module into the binary

it's building a dso

How do I get the .c files for 2.2 tho?

servertokens planetrenders.net

Apache/1.3.37 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.4.5 FrontPage/5.0.2.2635.SR1.2

it's running 1.3
why do you keep saying it's 2.2?

Ohh wow

How do i read directly from a ftp file? As i wouldnt like to download the file to read it.

I feel stupid
I ran it and the out put was /usr/local/apache/libexec/mod_proxy.so
I remember I ran this stuff before though =/

 Web Hosting | Hosting

*
To prove that you're not a bot, enter this code
Anti-Spam Image

Leave a Comment

You must be logged in to post a comment.


Blog Tags:

Similar posts: