Top Hosting Services

Bmachine Hosting

Aterr Hosting

PHP4 Host

Fastpublish Hosting

Drupal Guestbook Host

Lms Hosting

vBulletin Hosting

Order Now

 


Dorcman New to hosting?
Check out the step-by-step guides to help you get started.
Setting up your 1st website
Transferring your website

 

Advertiser's links

 

 

Contenido Secure your email
Accessing email from public places and wireless networks can pose a huge security risk! Anyone can get your password..
Learn how you can secure your email

 

 

 

Domain Search: www.

SERVERS & NETWORK  |  SUPPORT  |  WHY OXXUS  |  TESTIMONIALS  |  ABOUT US  |  CONTACT |  ORDER NOW

 

 

 

ups sory
any body speak spanish?

kTnU, Yes.

CrazyTux[m], ola

tacos!

Supaplex, hola

the only spanish I know, is already borrowed from english.
sorry :P

ok no problem

I have a RewriteRules problem stumping me. I'm very familiar with regular expressions, but new to RewriteRules. Here is the paste: http://pastebin.ca/608069
When I install the RewriteRule line that I think should work, I get 500 server errors. Is a period character disallowed from being captured in a RewriteRule regular expression for some reason?

no
did you look in your error log?
what apache version are you using?

my error log normall shows errors, but this one does not show up in the log

why on earth are you using .*?$
there is surely no point doing a non-greedy repeat before $

actually

the 500 must be accompanied by an error somewhere

looks like Apache/2.0.54 (Unix) mod_perl/1.99_09 Perl/v5.8.0 mod_ssl/2.0.54 OpenSSL/0.9.7l DAV/2 FrontPage/5.0.2.2635 PHP/4.4.0 mod_gzip/2.0.26.1a

ok, so it is pcre

400?

400 is Bad Request

watch /.*foo.*?$/ with and without the ? on "bar foo baz foo quzxx"

sec

I hadn't thought that through, but did think it odd too. my own version was ^x(.*)$
or just ^x(.*)

rici,

rici, is fit possible, if I only have a server with no dns server... and it is just an ip, to do a foo.ip_numberit set in http.conf

I've tried a few things by now, having started suspecting there's some subtlety I'm missing.

rici, u speak spanish?

afaik those are identical
i tried it, and it gave exactly the same output

anyone here know about apache? ;-)

rici, u speak spanish?

no te haces ningun favor así
soy voluntario, respondo cuando me da la gana

rici, lo dices por repetir?
rici, disculpame

http://pastebin.ca/608083

siento haberte molestado

ok, so let's see what's going on with you
es que estoy ocupado con el otro....

ok, lo siento.
si luego tienes tiempo, y ganas me respondes una duda?

ok, so perl accepts (.*?)$; i guess pcre probably does as well

405?

sin problema

405 is Method Not Allowed

thanks, but in any case, I have tried both ways. this thing is really bugging me.

yeah, well one step at a time
what context is that rewrite rule in?

whoops. try wihout first .*

server, directory, or .htaccess?

.htaccess

ah

here's more info
http://pastebin.ca/608069

it's still the same
ok
ah, it does say .htaccess, sorry i missed that
that's annoying, it's hard to get good error logging.

someone in #web suggested RewriteLog, but when I put that in, every access to the site gave 500 errors

you can't put rewritelog in .htaccess
did the 500 errors show up in your error log?

no

not your server, i suppose

other errors do, but not these

they must be going into an error log somewhere.
500 shows up typically when an .htaccess file has errors in it, or when a cgi hosting fails

404s do show up, for example

it would be nice to know why that rewriterule generates errors

in the logs i mean. typing one-handed now, pizza in the other

it looks ok to me
logs, you say?
ooh, pizza

pizza is only the bestest thing ever invented

yeah
so the first one doesn't generate errors. hmm.
the problem with the second one is that it actually matches the target

and it works, too. just doesn't do what i want.

it doesn't match dots, yousaid

when i install the non-working one, it gives errors whether the target matches or not though.

no, i mean the rewritten url will match the pattern again
.htaccess processing of mod_rewrite is a bit wonky.
it would be better to put index.cgi outside of the x/ patch

ooooh
so it could be looping?

very likely

ouch

the error would tell you that for sure

?

without seeing the error, it's all speculation

pizza? i deserved pizza?

some body speak spanish and can help me?

what about me? slaving away answering questions with naught but a cup of lemon tea

the error is as vague as possible.. 500

really, i'd suggest moving your cgi somewhere where it's not going to be part of the match
that is surely the simplest solution
yeah, the error log should have more details.
complain to your host provider
que es el problema?

no puedo hacer arrancar el servidor apache
enrealidad no tengo claro donde estoy parado
y no se si anda, o no

que hiciste?
tienes que darme algun pista..

muy buenisto, peshalto is filled with new optimism
going to try it now

sudo apt-get install apache2 php5 hosting mysql-server
uso ubuntu festy 7.04

ok

lo unico q hice fue eso, ahora no se como comprobar nada

y despues?
arrancarlo
ahora bien, como se hace en ubuntu....

esta corriendo segun lei
me dijeron q cree un phpinfo y lo opnga, pero la verdad que no tengo idea

alguien hizo una página... momentito
ah, dices qué sí?
podrías probar con http://localhost/
en un browser en la máquina

YES
thanks rici
pizza for both you and fajita

that worked?
cool

it did

ok
un segundo

http://www.debianadmin.com/apache2-web-server-with-php-support-in-ubuntu.html

ahora lo reviso
tuve problemas con una dependencia por eso tarde
rici, gracias, no hiso falta
hice lo de crear la pagina en php hosting con un phpinfo ()
y ahi parece que anda

q bueno

ahora solo resta aprender a programar en php

jeje

hi, is it possible to find directories in a server without having a link to them and not using brute force?

not unless it's your server

thanks, and is apache protected from DoS in any way?

some DoS

um...
if someone wants to DoS you, they will

but that's hard. you'd want to use a good firewall, and probably some other stuff low down on the protocol stack
basically, yeah. DoS is too easy.

well I mean a noob DoS

well noobs can submit your site to /.
or digg
:P

or they can run your php scripts

haha
that's not very nic
e
funny, but not very nice... :P

hmm,

rici, esta ocupado?

no sé nada de php hosting por si acaso

ooh! i know what that means
rici are you busy?

jaja no hay problema

yo hablo español!

es sobre mysqlo, sabe como hacer para saber si todo esta correcto?

A+ for me en espanol!
i suck at espanol

just takes time

here you have the n-tilde
ñ

no utf-8
:P

hay que probarlo con php.... creo que hay una prueba, pero como dije, no se nada de php

ah ok, el apache se usa para otras cosas aparte de php?¿

de donde sos, rici?

de canada pero vivo en el perú

apache es un servidor, php es un interprete
yo soy de argentina

sí, se puede usar apache sin php
aunque parezca mentira

yo tambien soy de argentina

adiviné

claro, yo suponia eso

jaja
hola

bonjour, sebas_.

pero no sabia cuales eran las utilidades
otras cosas como que rici ?

gutten Tag, fajita

what?

perl, python, archivos estáticos, otros idiomas de progamación
ruby on rails

ruby on rails is is a full-stack, open-source web framework in Ruby for writing real-world applications with joy and less code than most frameworks spend doing XML sit-ups. or http://www.rubyonrails.org/

y una larga etcetera

definitivamente me faltan aprenderm uchas cosas

kTnU, de que parte de arg?

de buenos aires, capital

igual aca

sebas, vos tambien usas apache para otras cosas
o programas en php?

bastante raro el canal de apache en español con un argentino
jaja
si
lo uso con mysql

php y mysql?

LAMP

A lamp is a kind of light

yo instale recien apache php web hosting y mysq

en fedora linux o win?

pero no se como hacer para saber si el mysql hosting esta andando
nix

corre en la terminal mysql
instalaste las librerias o modulos para apache de mysql?

mmm

mmm, raspberry tarts with whipped cream

no,

esla primera vez q hago esto

en realidad no me acuerdo si se hacia asi
hace muchoq ue lo hice

= cuando le doy mysql me aparece como un promp

seguiste algun tutorial?

nop.. solo sudo apt-get install mysql server

mm, te recomiendo seguir un tutorial de como instalar lamp

cuando le doy mysqlo me da una promp

porque necesitas modulos de php mysql web hosting para php
y todo eso

los de php los instale
php5-mysql

php5-mysql is already instelled

que bot pesado

libapache2-mod-auth-mysql
?

la verdad que no me acuerdo

ok
bueno, no hay problema
me voy a buscar a mi novia
que se me hiso tarde
adios
chau rici , gracias por todo

chauu

chau chicos

excuse

Telecommunications is upgrading.

heh
how apt
seen Daveman

0

:/

seen fajita

5

fajita seen fajita

5

seen sebas_

4

what about an open source "flash"?

iirc, it's really infintile
hrm... can't remember what that project even is now...
gnash

gnash is &an attempt to make a free flash player

that's it...
google gnash

http://www.gnu.org/software/gnash/

wow

[ _Atomo64_] can a vhost exist inside an other vhost?

nice bots
where can I get the fajita source?
fajita fajita

i am a she.

google perl irc bots

http://wholok.com/irc/

woot... i'll use that software on nakedtube.com

Hello

que tal, Reidms-420R.

que tal?

que tal is spanish for how are you

Oh :p Hello- quite fine
I have a question regarding Apache 2.2.4; Solaris 11 SPARC

:/

I get this ./apachectl -k stop
httpd (no pid file) not running

means it ain't runnin

aye

what does ./apachectl start tell you?

I started via ./apachectl -f /etc/apache2/httpd.conf
# ./apachectl start
# ./apachectl -k stop
httpd (no pid file) not running

possibly the other config has a different location for the pid file that apachectl stop doesn't no where it's at
or don't use -k and see what happens

without k is same error
the directories are different on solaris
/usr/apache2 and /etc/apache2

try starting it directly? the -k is the option httpd takes to say start or stop etc.
so /usr/apache2/bin/httpd -k start or whatever

:P
ee hee hee hee hee

eeep!
eep!

don't worry, you'll get better!

hehe. eep!
oh, that's wierd, not i'm john cleese
*now

heh
just a flesh wound!
:/
:P

baby jesus hates you
'cos you're a witch, and baby jesus don't like witches

hrm...

burn him!

and i float... :/

like poos?

a duck!

Chicken!

fajita++

# /usr/apache/bin/httpd -f /etc/apache2/httpd.conf
Syntax error on line 54 of /etc/apache2/httpd.conf:
Cannot load /usr/apache2/libexec/mod_authn_file.so into server: ld.so.1: httpd: fatal: relocation error: file /usr/apache2/libexec/mod_authn_file.so: symbol apr_palloc: referenced symbol not found

module was compiled for a different version of apache... using the wrong apr

fsck

fsck is the command used to fix filesystems on secure unix web hosting - think of another four letter word or [f]ile [s]ystem [ch]ecker

lol
let me try that again..
fsk
damn it
fsck

fsck is the command used to fix filesystems on unix - think of another four letter word or [f]ile [s]ystem [ch]ecker

Ha!
anyway back to business...

which version is your server? /usr/apache/bin/httpd -v
'cos mod_authn_file is only available for 2.1+

megaspaz- What is the easiest way to correct this- I have installed previous versions

unless you're a witch

wait
I have a /usr/apache and a /usr/apache2
let me correct this
# /usr/apache2/bin/httpd -k start
# /usr/apache2/bin/httpd -k stop
httpd (no pid file) not running

hello

"httpd: Syntax error on line 54 of /Library/apache2/conf/httpd.conf: Cannot load /usr/libexec/httpd/mod_rewrite.so into server: Symbol not found: _ap_null_cleanup\n Referenced from: /usr/libexec/httpd/mod_rewrite.so\n Expected in: flat namespace\n" and am really not surewhat this means

I dunno if this question really belongs here, but I am goin to ask anyways
I am running apache2.2 on windows
anD I want to know how to use C++ with CGI
can anyone help?

works the same way as any other cgi
you need to just print the content type first

what does tha terror mean and what could cause it?

module was compiled for a different version of apache... using the wrong apr
^^

I only know hgwo to use Perl with cgi using activeperl as an interpeter

modules aren't compatible between different versions of apache

hrm... I just did recompile it with --enable-module=rewrite

wouldnt I need an interpeter to run a C++ program?
I mean, do i have to compile it first?
I am really confused

yea
you'd need to compile it first

ok

you've probably left the old install that had its version of the apr installed in the path

the path you mentioned is from the preinstalled apache. if you compile your own, you'll need to change the paths and use a different config.

and then when you compiled apache, it used that apr

ah
thanks

gat-man: yeah, just compile your c++ program

I got a .exe program with the appropriate header, now?

wow

[ Halleck] do i need seperate AuthUserFile directives for each user?

gat-man: there is no interpretor involved

I got a .exe program with the appropriate header, now?

gat-man: if your addhandler line doesn't have .exe, it won't run unless you it's in a scriptaliased cgi-bin directory

ah ok

*you put it in

gat-man: may i ask why you want to use c++ for cgi? seems to me you need to get past "hello world" before attempting that

heh

what the hell is that suppose to mean?
how do you know my C++ skills?

gat-man: it meant that if you don't know that c++ needs to be compiled rather than interpretted, then you need to learn c++ before attempting to use it for cgi

apache on windows...thats dangerous

... int main(){ cout "content-type: text/html\n\n" "hello world"; return 0; }

I know that C++ needs to be compiled, I thought it would be compiled to be used as a cgi

eh?
you did?

yeah, eh?

then what's with the interpreter question?

Dude
I know that C++ to be compiled to run as an app

sweet!

like sugar, baby

it was just a question, guys.. nothing more

I didnt know how it would work on a web server

as if, maybe there was a program-in-the-middle sort of thing, I don't think he litterally ment interpreter

fair enough
try megaspaz's program

well don't put in the ...
just newlines where necessary... :P
man, that looks funny on one line

AddHandler cgi-script .pl .gar .cgi .exe
does that look good?

yep
what's a .gar though?

nuthin, just my personal extention

ahso

it doesn't work, it prompts me to download the .exe

you restart apache?
and does the directory you stored the exe in have ExecCGI in the Options line?
and this is in windows or *nix?

Windows

windows broken, please use door

and I restarted Apache

ok... so perms probably isn't the issue then...
could be browser cache

?

but i don't know if you tried this before...

I put it in the same directory I have my other scripts in, which work perfecetly.

gat-man: yeah, browser cache does funny ass things
rename it to .cgi
see what happens there

download

If your browser prompts you to save a file, save it and tell us what's in it.

tried that
but im gonna do it again

eep

anyone see the silva fight?

which one?

check it: http://g.ohbah.com/21.cgi

vandoley silva? (sp)?
gat-man: http://tron.megaspaz.net/hello.cgi
that's my hello world cpp proggie

anderson silva

it should just print hello world

wanderlei, i think

yeah
gat-man: and it looks like that link you gave me is gonna timeout
0 minute and

exactly

exactly what?

that's what happend when I renamed it to .cgi
that used to be .exe

show your code

he divided by zero

apc

Try using http://apache.pastebin.ca - It's a good pastebin, and is even set up to highlight Apache 'stuff'.

paste2.org is also a good pastebin, its actually innovative

:/
hrm... pastebin... innovative... um...
:/
sorry... heh heh
:P

gat-man.. are you running this on a windows server?

at leaste

ues

it doens't follow the exact same layout appearance and makes an attempt to be sort of pretty instead of butt-ugly

http://g.ohbah.com/share/files/20070716
that's my code

heh heh
#include #include?
oh

the .exe runs fine...

lol

and no \rn
\r\n

\\ is provided

I dont see why code is important

*shrugs*

how do you have apache installed?
like.. xampp or something?

...

i thought you said the exe didn't run...

no the .exe runs fine as an app
gee

oh

gat-man, talk to me here

what man?

well, for something like this you don't need the system("PAUSE")

is this a windows server

No manual apache installation with activeperl, php, and mysql.
yes, windows.

windows broken, please use door

how did you install apache

eh?

perhaps I'm using a different compiler than you

getting mad at me?

boom!

*shrugs*

kidding*

megaspaz.. he's trying to tell you the code works.

I allready told you, I manually installed the .msi and configured.
it

problem has to be in apache config.. make sure that there is a handler for cgi

wanna see the config?

addtype, etc

gat-man: try simplifying the code.... http://apache.pastebin.ca/608254

yeah sure

see if that works

i dont see how it was working with .exe before

....

do you mean just running locally, or actually on the webserver

it should work whether it's named .exe or .cgi

my compiler can't get return 0 in main()

he meant locally
oh
well that's interesting
:/

dont worry about the code please
the exe works perfectly
only if the webserver would actually open it

maybe you should include more things
maybe change the code

it just prompts to install it

maybe fix the code

it's NOT RUNNING THE CODE

lol

atleast it would give me an erorr

dude, use php anyways, wtf

lol

pring "hello, world"; ?
done

that's the perfect soultion

pring?

print

:P

print is overriding the sub i think

lol

pring = DOOF

c++ does work as a cgi
i don't know what compiler you're using, but um... it sounds funny

dude i know.. write it in ROOBY ON RAELZ
sic. php..

http://tron.megaspaz.net/hello.cgi

ROOOOBY

i only write in lolcode nao,tho

hehe

kthnxbye

my friend wrote the PHP interpreter

OMG hax is 1

your friend is rasmus lerdorf?

your friend is a god this week

good job. get his to fix their f*cking manual

CAN i haz LOLIO, kthnkx.

the lolcode interpreter which is written in PHP :P

perhaps you guys wanna see my config
http://g.ohbah.com/share/files/20070704

lol

oh, hehe

gat man, yesh\

yesh\?

geshi, what?

gat-man: if other scripts run fine in that directory, you should be ok with this

yep
so I dunno...

the only thing i can think of is that your compiler is doing something funny

how about this: I'll give you an ftp on the server.

gat-man: like i said, there isn't an issue running c++ cgi's
ftp?

ftp is a rather insecure protocol primarily used to announce your shell password to the world. or better replaced by ssh/scp/sftp in most cases or mod_dav in other cases a cause of "No such file or directory" in CGI scripts, if you transfer as binary with DOS lineends

I hate FTP so much :/

# (You will also need to add "ExecCGI" to the "Options" directive.)

I love ftp
bazookatooth?

don't use ftp ever

yo
i copypasta

http://tron.megaspaz.net/hello.exe
*shrugs*
it's gotta be dah compiler

# (You will also need to add "ExecCGI" to the "Options" directive.)

why would it be? if it runs otherwise
it sounds like there are different problems

IT WORKS

Damn right it does

he's put it in the same dir as other scripts that works

OMG IT WORKS

this is weird...

KTHXBAI

heh

gat-man.. try .. i dunno... naming all your cgi scripts .exe
for kicks

that's a perfect idea

http://tron.megaspaz.net/cgi-bin/hello.exe

and then worry about this problem later when you have a real server

works there too... *shrugs*

http://g.ohbah.com/22.exe

ugh... putting .exe in the AddHandler line looks funny though...
woo hoo!
progress some might say

yeah.. it sure does

22.exe is a .cgi file

gat-man: check the error log

lulz

22.exe used to be a .pl
great idea mega

try making it .php
and then re-write the code

gat-man: did it work before as a .pl?

so that it is php too

heh

yes.

yes. is Is is_are that a good thinga bad thing

oh... now that is funny

I know

renaming the extension shouldn't have any effect whatsoever...

exactky

bleh

exactly*
want to do vnc?

not in particular

http://g.ohbah.com/share/files/20070746
google is here!

http://musicishere.com/

you are my idol!

http://www.mp3.com/tags/you+are+my+idol+all+the+w/

http://tron.megaspaz.net/cgi-bin/hello-cpp.exe
http://tron.megaspaz.net/cgi-bin/hello-cpp.foo

gat-man you might be interested in this : http://www.php.net

well ok... that's not really fair since it's in cgi-bin

http://www.imdb.com/title/tt0472429/

...http://g.ohbah.com/share/index.php?id=index
...a href="http://g.ohbah.com/share/index.php?id=index"http://g.ohbah.com/share/index.php?id=index/a

voltron--

friendly notice: and when I come here I expect a bit of intelligence, if you don't know the solution to my issues, please don't teach me

heh

gat-man, i gave you like 5 perfectly goood solutions to choose from
not your personal army

5 perfectly good solution eh?

gat-man++

would you mind naming them?
s/naming/listing

*notes the losing argument*

ok... put that line in the config i told you to

which line?

which line is that, specifically?

2) rename all your .cgi to .exe and stop whining about it looking funny
3) get a real server
4) write it in php

I did that allready

5) write it in php

4: 5: what perfectly good solutions to writing C++ in CGI

(You will also need to add "ExecCGI" to the "Options" directive.)

Options Indexes FollowSymLinks ExecCGI
line 191

fine i'll stop talking.... i thought you were trying to write web applications or something
lulz

haha

the thing i like about python cgi is that it'll write stack traces to the apache error log...
bthe thing i like about python cgi is that it'll write stack traces to the apache error log.../b

:P

can you get my /msgs?

yep

ok

perl can be made to do that. CGI::Carp is a must for CGI's

but you should ask me if first

use CGI::Carp qw/fatalsToBrowser/;

ah
to browser would look much prettier than in the apache error log... :P

I just want to have a default bl;acklisted IPs config file somewhere deny.conf

um... what do you want me to ftp?

IIRC you can even use your own template too.

so you can see the .cgi\.exe

oh i believe you

I gave you write permission so you can see your self

which I include in the Virtual Host ... am I barking up the wrong tree here?

i wouldn't even know why you'd lie about it
if you were lying

lol yeah

but again, i believe everything you've said

gat.. did you ever try just taking exe off

so what do you think the problem is?

the addtype list?

yes, before you guys even told me to add it.

i wasnt here when that happened

gat-man: i have no idea. there's a lot of odd things going on... like renaming .pl to .cgi throwing a server error being one

no no
.pl to .cgi works

or .pl to .exe

ruh ror. stack traces to the browser in dev mode, clickable on (to open in textmate) and via email in production mode

yeah, .pl\.cgi to .exe dont work

gat-man: yeah, that's odd

i think windows fails

unless there's some kind of av thing going on?
that doesn't like .exe being run... :/

chmod

chmod is Shttp://catcode.com/teachmod/ or http://wsabstract.com/script/script2/chmodcal.shtml

+x?

+x is needed for directory listing.

not sure though with much about windows

cgi

cgi is http://httpd.apache.org/docs/2.0/howto/cgi.html or http://wiki.apache.org/httpd/ScratchPad/EnablingCGI

why don't you try it yourself man? it's not that I think you don't believe me, but because I might be doing something wrong

does windows even have +x?

nope lol

lulz
it shud
amirite

noddaclue

will you please try it?
I might be doing something wrong, I dunno.

i wasn't being sarcastic... looking at a stack trace in the browser would be a lot easier than looking at it in the error log
each stack trace line is a single line entry in the error log... .
kinda hard to read, but better than nothing

imMute is here?

yeah, that annoys the hell out of me. especially with ^I and \t everywhere

but uglier than hell

I remember he helped me install php via vnc, he's a cool guy

must be a different imMute :P

anyone going to oscon?

the imMute we know is an asshole! :P

too bad he's mute :P

nah, that was me. theres only one "imMute" on the intarweb

i'm moot

lol

heh

hehe

I would love to go to OSCON or YAPC, but sadly I dont have nearly enough money

GOD IM AWESOME

/msg NickServ IDENTIFY test123
man, that would be one bad mistake...

lol... nothing ever works for gat-man

ummm, no not really.

Mute, yeah.. it's pretty $$$$
especially coming up from down here
in alabamy

YAPC is only $100 which I could afford, but the plane ticket to houston I couldnt. I havnt looked at OSCON since I saw its huge price tag.

alabama sucks

hsv included?

lol I just of something funny

fsck

fsck is the command used to fix filesystems on unix - think of another four letter word or [f]ile [s]ystem [ch]ecker

lolcat

lolcat is http://icanhascheezburger.com/

jesus

built my hotrod

wow

hey, how do I unload a statically compiled module?

seriously.

Who likes to fsck?

epic combo

i'd go to more conventions if my company would pay first instead having to expense...

fsck

fsck is the command used to fix filesystems on unix - think of another four letter word or [f]ile [s]ystem [ch]ecker

jesus

built my hotrod

my company sends me to conventions i dont even wanna go to

heh
fajita++

and makes me stay in hotels i would never pay for myself

yeah, i'm sure sexah granmas isn't your thing... ;P

because they be ballin' and shit
IRC would be a little cooler if you could just post images.

so no one else is willing to help me

gat-man: i just tried to ftp and rename the file... permission denied
not that it matters any

DCC

like i said i believe you

jesus

built my hotrod

i know.. i mean real time. here for everyone.
jesus.

built my hotrod

bult

i just really don't know what it could be... besides windows and/or compiler

I know you believe me, I dunno if you should trust my common sense

fajita

yes, Reidms-420R?

fajita

Reidms-420R?

jesus

built my hotrod

no he didn't.
damnit.

fajita jesus fsck

Reidms-420R: excuse me?

reiserfs

reiserfs is Bgood for lots of small files, jfs and xfs are good for large files

ext3?

ext3 is "the supported filesytem for RHEL 4low

zfs

4low?

zfs is Xthe zillion-trillion-billion-byte filesystem, aka Sun's Super new Filesystem for Solaris

gave you rename permission

ZFS = god?

.......How can I find apache2.2.4s pid file?

:P

oh noes
lol

hans reiser

fajit...a

adderall

gat-man: yeah the renaming extension thing, i have no idea

anyone know how so do a setup for mass vhost website hosting system with safe php config/openbasedir restrictions?

Maybe there IS an interpeter for C++

mass vhost = reseller type thing?

gat-man: i wonder if it's due to using \r\n

DragonD just type Jesus

gat-man: can you try doing just \n

I dunno
ok

for the printing of the content-type

Seriously- you will get a bot response

it could be that apache just doesn't like \r\n

yeah kinda

weird

Reidms-420R: Jesus?!?

actually that's a common problem ftping files like htpasswd

this is one strange problem

from windows to unix

you're using FreeBSD?
lol

who's using freebsd?

DragonD just "jesus

dragond just use apache2, it will make handling the vhosts easier... and make a directory on your system like /www/ and for each user put a folder owned by them in the /www directory
bdragond just use apache2, it will make handling the vhosts easier... and make a directory on your system like /www/ and for each user put a folder owned by them in the /www directory/b

I'm listening to this mac fan and laughing my ass off

chipig likes macs

with out a shell user...

with fries and a large sprite

likes powermacs

apperiantly linux is a "big ripoff of unix"
lol

*shrugs*
start a flame war!

BSD is dying. Darwin is better, anyway.

um... macs are awesome
duh.

A child of five could understand this! Fetch me a child of five

heh the irony
start a flame war!

BSD is dying. Darwin is better, anyway.

start a flame war!

Netcraft confirms it, BSD is dying

start a flame war!

Pfft. vi and emacs *both* suck. Use pico.

anyone who has ever used both for more than 2 weeks will stick to mac

heh

jesus

built my hotrod

bullshit.

can anyone say "spammer" ?

vi is awesome.

flame

vim is better

nano

nano is a nice pico clone!

who does?

pico

pico is easy to get started too

exept noobs

isn't pico only installed if you like install pine?

what? you gotta be kiddin gme
lol

Can anyone help me with this??? # /usr/apache2/bin/httpd -k start
# /usr/apache2/bin/httpd -k stop
httpd (no pid file) not running

well that's how it was with red hat

omg, that comment was hilarious gat-man.

Reidms-420R: after you do start, are you sure apache is running?

big mac

go back to your little cgi windows world.

linux is a ripoff?

none of that green crap

lol.

*

what comment???

comment is ignored

no.. "who does"
"except noobs"

megaspaz no

lol.

meat and cheese.

+111111111111111111111

bazookatooth:....ok.

gat-man do you run apache on windows?

yes

yes he does

Reidms-420R: ok, so apache isn't running then when you start it
no errors in stderr?

and I'm proud of it

How many times has your website beend defaced lol
megaspaz stderr?

and proud of it... someone has mac-envy, methinks

well to the console

Reidms-420R: just because its windows doesnt mean that its going to get hacked.

well to the user it's just the screen

inMute there is alot more risk than Unix

don't worry, they're just ignorant.

gat-man dare to give your IP?

i have 5 cpus in my house.. and one server online. 1 xp, 3 gentoo, 1 mac os x, 1 ubuntu
mac os x wins almost always

Reidms-420R: no, you just dont know how to use Windows safetly.

well no one runs any os safely

exactly

gat-man why should I have to use windows "safely" I want to use a OS normally

the safest way to run a puter is to disconnect it from the damn router

i run gentoo safely

*modem

but the argument that unix is safer, pffft.

than windows?!

well it is safer than running windows ME or 95

unix is cooler however

how about FUCKING WORKS
lol

boom

HEADSHOT!

ignorance.

Not knowing something is not a crime. Everyone needs to learn the stuff at some point; I don't know of anyone outside RoUS' genetics lab who has Apache knowledge encoded in its DNA. Refusing to learn is the crime.

thank you fajita.

lol

heh

he got pwned once a week...
*shrugs*

gat-man if you are so invulnerable give your server addy to us "ignorant unix users"

oh please

gat-man: you were having problems running an actual program as a cgi on windows?

no

no.

just anything with .exe

I can run perl.

that's what it seems to me

right

he already has.. and his apache config

lol

but i like him he funnie.

i just wonder if it could be something like an av...

did you try the scriptinterpretersource directive?

copypasta

you're nothing but a loser, instead of solving a problem you tend to run away from it.

i think you might need to get apache to not try to emulate shebang lines

ok chill out with this little conflict

gat-man: you're the one with the problem.

gat-man no offense to you is meant by me- just checkout milw0rm.com and compare the windows remote exploits to solaris's

that's my only conceivable input into this, and the flamewars ae boring

technical problems can ve solved.

but you might want to check it out, just in case.

gat-man: my gentoo server is up and running quiet as a mouse doing things your windows machine would barf doing

holy shiznet

BLSAARHGVHGHHGHG BLU SCRN!

take this to a private message or something

/ignore bazookatooth
oops

oops is an understatement... :P

Who wanted a flame war? we got one lol

BLARGHHHHHH THREE FINGER SALUTE

start a flame war

Is it a prerequisite for IRC that you be incapable of putting a coherent sentence together?

yes
it is

fajita start a flame ware

Reidms-420R: excuse me?

thout so

start a flame war

PHP ... Please Help People fix PHP

ROOBY!
ITS KEWL THE ASIANZ USE IT
THE ONES WITHE SPIKY HAIR AND EMO GLASSES
SRSLY

shut the hell up

Shutting up.

LOL

rooby.
in georgia font.
plz.
MOAR

ok, you guys. quiet down

yessir

Well everyone has left- Flame war is over :p

beer

jesus

built my hotrod

ty

5beer
beer_sixofthem
damn

GTFO OF MY BAR

Damn, why is there no food in this hou HOLY SHIT GRAHAM CRACKERS!

cotton mouth

graham crackers suck

|d/_\b|

bleh

sweet. knocked up finished downloading

meat and cheese.

:P

where do you guys work
- dealnews.com

^lame

yah of course
it runs on gentoo, of course its lame
rip off of UNIX
duh

A child of five could understand this! Fetch me a child of five

debian4life
devbian is the best
debian*

ok, let's not start a distro war please.

you're a furry

ok
lol

A child of five could understand this! Fetch me a child of five

rofl

thats why they named ubuntu "feisty fawn"

Solaris owns them all..

its an OS by furries
for furries
debian included.. cause they're married and shit
(apt-get * 10) portage

what package manager does gentoo use?

everythingintheuniverse portage
portage

portage is quite good, actually

i'm thinking of getting it
wow, I said soemthing before fajita.
damn

i suggest killing gat-man with fire
anyways, goodnight luv

jee
this guy is the gayest troll ever

IM RUNNING AWAY FROM MY PROBLEMZ AGAIN
RUNNING AWAY FROM ALL TH EPROBLEMZ I HAVE LIKE GREENHOUSE EFFECTS AND PIRATES AND AIDS
and gat-man's windows apache installation

please stop it, both of you. or carry on somewhere, either way

you asked nicely

*somewhere else

its almost time for a kick/ban
so im going to bed

if you actually follow up, I am ignoring him.

"if you actually follow up" ?

i haven't banned anyone for ages

let me do it then

silencing is less drastic

HOLY SHIT I GOT IT WORKIN!

yeah

I GOT THE .EXE WORKING

finally

http://g.ohbah.com/cpp2.exe

gat-man++

oh god

god is Love. Love is blind. Ray Charles is blind. Therefore ... Ray Charles is God! or ok or dead

cheers friends

what was it?

gat-man: what ws it?

bye until the next problem

I'm not tellin' ya'

the \r\n?

the \\ is provided

nope

shut it

i'm not following you...

gat-man: rici's suggestion?

nope
hehe
It's gonna eat you up inside

you installed gentoo in like 5 minutes?

lol

*shrugs*

return 0;

man i was coming with that one
fastest gentoo install ever

damn you imMute!

hah

I was gonna torchure them

he said return 0; like 1000 lines ago

torture*?

and you were all like "that dOESNT WERK IN MY COMPILER IDIOT"

http://news.bbc.co.uk/go/rss/-/2/hi/americas/6281346.stm "'Racist' restaurant closed in Lima"

you did
and he said /meeeee getting mad

yeah, we were chuckling over that earlier

ooh

please, pissoff, i do know how to say that in a nicer tone.

futurama

let's all have a beer

#apache

how to install gentoo with only 3 commands http://bash.org/?search=insomnia+gentoo&sort=0&show=25
how to install gentoo with only 3 commands a href="http://bash.org/?search=insomnia+gentoo&sort=0&show=25"http://bash.org/?search=insomnia+gentoo&sort=0&show=25/a

haha, excellent

gat-man: my compiler can't get return 0 in main()
gat-man: my compiler can't get return 0 in main()gat-man: my compiler can't get return 0 in main()
?

shut up

what a hiLARIOUS misunderstanding

bazookatooth is about to make a mistake...

please tell me soothsayer
in before ides of march
does anyone else here run folding@home on your servers

what is that?

see if fagita knows
folding@home

i really think it's enough

http://folding.stanford.edu/
whats enough?

enough is enough.

exactly

got me.
what is wrong with folding@home, dude
don't power trip on me plz kthx

why don't you just go do something else for a while then

its not a power trip. its "shut the fuck up or we'll fuck you up"

bazookatooth shut the hell up

why not take 10 deep breaths
instead
ill do it with you
like a team

imMute could not have said it better myself
Thanks rici

cls
oops

oops is an understatement... :P

wrong command
heh
when chipig bans, he doesn't fuck around

you've been silenced, in case you hadn't noticed

I am a bit rusty on apache (apache2 is completely new to me) what goes in the servername in httpd.conf? www.domain.com?

yes

Reidms-420R: something like that

but ServerAlias is equalily fun, and underused

It is set to domain.com(ofcourse I have my own domain) and I can not access the webpage

because my company wants to use a lot of domain names...

erm

nameservers are pointing to domain.com

ok so i've been looking at some stuff online for mass virtual hosting. i've found things like mod_vd mod_macro mod_vhost_alias with patches for open_basedir for php security but how do "profesionals" do it? any suggestions?

Reidms-420R: what do you mean by "cannot access the web page"?

define professional
:/

"one who professes to ..." ?

rici localhost displays "it works" however when I enter domain.com it does not display
Our friend left :p

use fastcgi

does the browser just spin?

website hosters like godaddy, etc.

beats me

if you want to imagine its anyway secure, don't rely upon open_basedir

are you trying to access it from your local network using the external ip?
Reidms-420R: ^^

fastcgi?
with mod_vhost_alias or something?

yeah, and suexec

rici i tested it locally by going to localhost- but when I enter the domain it does not display

anyway you can give me an example config?

Reidms-420R: what does it do?

rici typical "page not displayed"
i mean
server not found

what's the domain name?

um is you forwarding to the right server?
in your network that is...

i think it's the NAT from inside the network thing

rici kruor.com

i can't remember the factoid
servertokens kruor.com

Couldn't get a useful value for http://kruor.com

oh, maybe not.

megaspaz yes- I am using zoneedit.com with a script that updates my dynamic ip

0 in your config by any

looks like everything can be solved by just ignoring it

No just listen 80

what os?

Solaris 11 SPARC

ooh

:p

well, it shouldn't be any different
this doesn't seem like it should be an apache thing

megaspaz the main difference from linux is the location of files

could it be a firewall setting?

really does seem like some network/dns thing...

the dns works

but not knowing anything about solaris...

the DNS does work rici?

yeah, you get the picture...

24.117.20.45

sweet

where would I go to get information about smtp servers?
I wanna set one up

cableone.net apparently
do they block port 80?

gat-man: i don't believe #apache is the best place to ask that.

you might want to try starting on port 8003 or something and seeing if that works

any idea where?

rici I do not think so

#postfix

let me forward 80 in my router

that's probably a good idea

:P

rici I have ran apache before without forwarding it :p

o.O

Poke!

there are other more obscure possibilites, for sure

it works now
I accessed it via proxy
Thanks for the help rici!

servertokens kruor.com

Apache/2.2.3 (Unix) mod_ssl/2.2.3 OpenSSL/0.9.8a DAV/2

yup
happy serving

thanks

um.. apache 2.2.4 is out already... :P

nn all

night rici!

with the all new mod_make_apache_not_work
woo hoo!
jk... apache 2.2.4 works just fine... in case anyone thought i was serious... :/

nice idea for a mod though. think i could manage that one
unice idea for a mod though. think i could manage that one /u
uunice idea for a mod though. think i could manage that one /u/u
mm, gravy

lol

i've been looking for info on how do setup suexec with mod_vhost_alias and i can't find any
wow the channel suddenly dies

yes. it does that from time to time

lol

if you're looking for a way to have different user ids across vhost_alias vhosts, it's unlikely to happen
there's just a single server_rec and therefore just a single SUExecUserGroup

although, using regular vhosts with apache1.3 might work

at a guess, haven't tried it.

since you can have user/group in vhost scope
s/scope/context/
but i don't use vhost_aliases or suexec, so i'm just guessing and talking with the help of a sugar overdose...
don't mind me!
erm...

mm, gravy

gravy++
me neither
heh

i'm tring to set up a dynamic virtual hosting that is secure. any suggestions?

i really don't know much about suexec, sorry. i'd suggest that if you need that, you'd be better off with a 'static' config, perhaps using mod_macro if you don't like to repeat directives too much

i'm not sure if i need* suexec.

there's a wiki page on privilege separation at wiki.apache.org/httpd

rici's favorite recipe
hrm

http://wiki.apache.org/httpd/PrivilegeSeparation

hey guys

I guess you want the rest of us to ignore you then, lkthomas-home

anyone use apache_mod_balancer ?
I can't get php session working
anyone still alive ?

i use it but not with php. what's the symptoms?

well, login session can't be allocate
when I clock login
click*
it does work
but then when I refresh, it logout

so you're proxying to multiple machines each of which save sessions to the filesystem and you want sticky sessions so subsequent requests always hit the same backend?

yes
but my backend are not using real ip
backend is using private ip tho

can't you save the session data in a shared storage like memcached or your database?

nono, it's a simple test script
obviously that session does not work with the most simple script
try this
http://www.hello28.com/index.php
test1 / test1

ProxyPass /balancer://your_cluster_name/ stickysession=PHPSESSIONID you've set something like this?

well, mine one is BALANCEID

and you've told php to use that as the session name? or are you handling session cookies manually?

I didn't do anything

what did you mean by BALANCEID then?

stickysession=BALANCEID
do I have to set PHPSESSIONID ?

right, but that needs to correspond to the cookie name. yes.

hang on
wait
PHPSESSIONID is a standard or what

it's what php uses as a session cookie name by default
it's configurable though

I see
I think that cause the problem
hang on
also
I have a question on backend apache rewrite rule
RewriteRule .* - [CO=BALANCEID:balancer.http2:.example.com] --- what if this backend server does not own a subdomain http2.example.com, instead of that, it is using hostname "ubuntu-http2-server", how should I config that then ?

mm, i think i'm wrong about stickysession. proxy_balancer seems to be overriding the php session key
oh, is that rule in effect?

which rule ?

which rule is it refeering to?

i guess that's why you don't have working sessions, as you're blatting php's session key

hmm ?

your rule, the one you just pasted, is setting a cookie. what's it for?

well, howtoforge example telling me to do that
wait
http://www.howtoforge.com/load_balancing_apache_mod_proxy_balancer

cgi only needs to return a content-type to be valid right?

Please make sure that the value of stickysession is the name of the cookie (BALANCEID) in our rewrite rules from chapter 2. Also, the values of route in the BalancerMember lines must be the respective value that we set in the rewrite rules (http1 or http2). The stickysession and route values take care of the correct session handling of mod_proxy_balancer.

content type followed by a blank line

I think the problem I have is that two backend server are not using real ip

hmm, apache runs the file, it prints the headers, some text then i get a 500

mind to take a look that site please

lkthomas-home: yeah, i'm reading it. while i'm doing that, you read:
watching http headers

watching http headers is http://wiki.apache.org/httpd/Recipes/WatchingHttpHeaders

k, wait

step one (see /topic)

nevermind, it was my fault

that page does not exists

now the queston is why doesnt that work XD

lkthomas-home: oh, sorry. drop the Recipes bit

any clue about what's going on ?

just wrestling with this site's crappy registration system so i can comment on the article
it's not bad but there's a few silly mistakes. not in the proxy area though

hmm
what hsould I modify the rewrite rule then

i'm not sure i'd follow this method straight off, but then i've not used balancer with sticky sessions. i find it's generally easier to share session state between servers

any docs to show how could I do that ?

do what? share state?

yes

gah, what a crap site
uh
memcached

memcached is 6so cool. i love it. or http://www.danga.com/memcached/

try that

I see what you mean now
but I can't use it at all
I can't force developer to use memcached

mm, is it really a developer issue? i'd think you should be able to abstract the session storage away from php code as an administrator
you can do that using databases, i believe.

well, I never did that before

http://au3.php.net/memcache can be used as a session save handler
so you php monkeys don't need to care
*your

well, I think the best way is to get this working rather than using another tools

heh, ok. did you get a http header sniffer going?

not yet, I am looking at the cookie now

note also the warning generated by your script

yes, what is that about

it's not sending the session cookie 'cos you send output to the client before calling session_start()

hmm

even without the balancer you wouldn't have a working login with that error

is that caused by the script ?

yes, read the error message. it tells you where in your script the first output is sent.

LOL
damn space

ok, i got the session name a bit wrong. it's PHPSESSID, not PHPSESSIONID
but ignore all that 'till you're comfortable that login works on its own

hmm
alright
cookie seems working
after I fixed that space line 19
LOL
I found something interesting
with IE, the site shows damn slow

Ah well.. pctony still didn't fix the /topic - but people also still aren't reading it....

but with firefox

with firefox is very good

it's light speed

which bit needs fixing?

we [I think yango or jpeg or lamp and moa] wanted it to be max 80 characters and be.. like.. shorter.

yeah, that's fair. it is too long

barely three lines over here...
I think I'm hungry.

howtoforge is good

lkthomas-home: their login system sucks. i logged in three times and still couldn't comment on that article

dude, maybe they are using cookies with load-balancing as well ? LOL

why the strange hat, btw?... uh.. chipig as well... huh - what happend?

a couple of trolls earlier and i forgot..
would want to talk to DrB before severely truncating /topic
i'm not sure it's really too long. the people who don't read it now wouldn't read it if it was much shorter and those who do might find a lot of it useful

man, you got to love apache
but then lighttpd is growthing
does apache support snmp queue ?
I want to use something like cacti to monitor my apache

not natively, though i belive there are snmp modules available

you mean mod_* ?

mao

mao is at http://modules.apache.org/ and is a good place to look for extending Apache's capabilities

snmp?

snmp is fine but you don't use it with mod_watch or Security is Not My Problem

what the fuck
take a look
http://kb.linuxvirtualserver.org/wiki/Image:Mysql-cluster-components-1.png
what a mess

heh.. 'Security is Not My Problem' ... one of our netops had almost choked a Windows App engineer, because he decided with the 'security engineer' to use snmp v2 for stuff where they "write" to a load balancer

well, usually we put read-only

lkthomas-home: you cannot'put' read-only. Put is a write operation

LOL!
you are too sensitive with POST and GET operation ?!
I mean, we usually "set" it as RO

I'm not too sensitive - I just like to be exact.

heh

Of course I also like to exaggerate, but that's something completley different (:

I think only two person who is always active in this channel is noodl and jMCg

lkthomas-home: that's not true.

no, that'd be fajita

ehhe
that freaking bot ?!

http://www.mongonation.net/~georg/pisg/

LOL
Is DavidHKMrPowers stupid or just asking too many questions? 41.2% lines contained a question!

My activity here has gone down a little, since I started working full-time.

defbyte didn't know that much either. 39.4% of his/her lines were questions.
LOL
I found out that's funny

"Take a look at those - while I go have a shower"

haha!

That's actually quite frequent....

LOL!
that's damn funny

yeah, pisg is neat

defbyte seems a bit sad

lkthomas-home

LOL "It seems that dav7's shift-key is hanging"
, noodl, kicked about 15 people.
be nice noodl
anyway
after testing couple times
cookie seems working

hehe, my kick key's hanging

LOL

when I make changes to my virtual host config files, do I have to restart apache or is there a command to have apache refresh its config without doing a full restart ?

graceful

apachectl graceful

apachectl graceful is how you restart apache without dropping any client connections. Workers in keepalive will retain old config until they time out. Be patient, or set KeepAliveTimeout lower

^

cool, so it does a restart...but it just waits till all clients disconnect ?

child processes restart once they're done with the current connection
so the restart takes a while across the pool, but all new connections get the new config

very cool.
ive always just used /etc/init.d/apache2 restart , but it looks like apache2ctl is much more effecient.

hello, how do I change the user apache is run as?

user

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

group

group is http://httpd.apache.org/docs-2.0/mod/mpm_common.html#group or http://httpd.apache.org/docs/mod/core.html#group (1.3)

thanks
thanks, didnt realise it had to be run as root to start as a different user, sorted now

.....

Hi.

Hi. is there any channel for Lucene related discussion?

nope :-/

i'm not following you...

mod_fcgid, what's the syntax for FCGIWrapper directive?

have you cared to take a look at their documentation?
mod_fcgid?

mod_fcgid is like mod_fastcgi, but uses a new process management strategy, which concentrates on reducing the number of fastcgi server. or at http://fastcgi.coremail.cn/. See also http://paul.querna.org/journal/articles/2006/01/01/using-mod_fcgid-for-ruby-on-rails-applications

Yes! They have documentation!

jMCg, I did, it is virtually useless
They have examples not documentation there.

FCGIWrapper is basically AddHandler + SetFilter gone insane
Or actually.. not.

What I really want to know is...can I have one default wrapper for everything and one specialized for .php?

define everything.

Well, .fcgi, .fpl, .fpy is everything

Yes. Of course.

So, I can have multiple FCGIWrapper directives?

You would have to define a Wrapper for .fcgi, .fpl, .fpy, .fyi and then you define one specalized for .php.
Of COURSE.

Heh, ok. It is not really that obvious

Well this is apache - not vsftpd.
vsftpd has for each directive a single variable. Neat and clean. And very limiting at times
apache has for each directive a scope, a lifetime, an array or a pool a watcher, a watcher for the watcher a global monitor, a pit-bull-terrier and some sweet LOLCATS.
Nos this looks like one of those cases where I'm exaggerating.

okay.. just found and removed a botnet httpd process running as www-data... anybody have an idea how they were able to upload that stuff?

got your logs handy?

access and error, yes

look for wget, curl for starters

will do

in the parms
also look for lwp-download, I've seen it used as well to fetch stuff
it's part of the perl, so commonly available and a little more obscure than the common wget/curl tricks

I've got two with curl, both 404, 2 days ago

ok so look for everything from those clients addresses now

thanks

they tried those and failed, but something worked. now we gotta find it
also do a find for locations writeable by the www-data user
and look at those locations to see what is there

check
they dumped a cheap shellbot in /tmp.. it's spanish :P

cool, so now you can use the name of that file for a log search, and maybe find the offending page
unless it was a post

got it, yesterday afternoon, wget upload in error.log

cool

so I know the timeframe

 

Related pages:
Hillct i got the static routs set up bit it asks for destination ip address ip subnet mask gateway ip address

 

Leave A Comment:


 

Comments:




Order with confidence
100% Secure Ordering
Privacy Policy
Money back guarantee


...........................................

Secure your email
Accessing email from public places and wireless networks can pose a huge security risk! Anyone can get your password..
Learn how you can secure your email

..........................................

Choose your gift
Free domain
Free Unique IP
$$ off hosting fee
Pick your free gift
.........................................

 

and go live in just 4hours

 

 

 

Copyright ® 2003-2007 Oxxus.Net * USA * UK * AUP * Best web hosting solutions from internets leading web hosting provider * Tutorials * Resources * Blog * FAQ