|
Related Topic: |
0
i used piped error logs and there's an example in the docs
so i think you maybe have a different problem
This line is okey for you?
ErrorLog "| logger -t apache_error -p daemon.err"
i don't have syslog-ng running on my test server
but i've definitely got piped logging happening
use the full path to the executable and see if that helps
you dont need that for errorlog
what I need then?
ErrorLog file-path|syslog[:facility]
actually, that's true. you can just send to syslog
errorlog will write to syslog, it's an option
but anyway, errorlog to a piped logger is possible
access_log needs it though
like this? Errorlog "syslog:daemon.err"
anyone familiar with Virtual Hosts and ip:port based listening? (im using a dns service to cloak 8080) i'm in need of some help setting up a few domains with my apache windows server thanks.
the beer wisdom is the best
yep
but, for some strage reason it does not send to my syslog-ng loghost , in anyway, I use logger -t 'mycustomtag' to pase it using syslog-ng, how can I send this tag too?
not using 'logger'
parse it sorry
how very true
not sure that can be changed anywhere other than by hacking at some apache code, maybe logger -t is best for now
home, biab
yes, but, does not work for me xD, maybe I have something wrong, but, CustomLog works perfect ;P
hey, it works now!!
nope, sorry ;(
fake alarm
hahah
does it work again now?
can you tell me, one way to create a 'error.log' error?
I use, restarting apache, not sure if it is the best hosting way
create an error?
when you restart apache, it will log to the error log
yes, to error.log
if that's what you meant.
okey, then is it a good way
try putting in the full path to the executable
hello, is there a way to exclude robots.txt from my htpasswd for "/"
you don't password-protect files
you protect directories
i am protecting a directory
all the files in the directory will be protected, then
until the user enters a good user/password combo
then all the (visible) files will be accessible
if you want to deny access to individual files, try:
deny
deny is http://httpd.apache.org/docs-2.0/mod/mod_access.html#deny or http://httpd.apache.org/docs/mod/mod_access.html#deny or http://httpd.apache.org/docs/2.2/mod/mod_authz_host.html
files
files is http://httpd.apache.org/docs-2.2/mod/core.html#files
filesmatch
filesmatch is http://httpd.apache.org/docs-2.0/mod/core.html#filesmatch or http://httpd.apache.org/docs/mod/core.html#filesmatch
read all of the above.
then it works, but I have a little question, works if for example I try to use a file that does not exist, but if I restart apache, then the log is not sended, maybe apache kills its logger before, It is possible?
parse error
Your question doesn't make sense, and implies misunderstanding at a more basic level. Please review the docs..
sorry, i don't understand
apache kills its logger just before it dies
the reason you have to put in the full path is probably that the compiled-in server host root is not the same as the serverroot directive in the log
by the time it gets around to starting the access log, it's read the serverroot directive
but it initializes the error log somewhat earlier, and it might still be using the compiled-in serverroot at that point.
so, my behavior is normal nope?
my english is bad, sorry
if you restart the server, as opposed to stopping and starting, then it restarts with the serverroot from the config file
it's all very confusing, so i have a simple rule:
Don't use relative paths in config files
what's the best method to perform when a SSL RSA private key is called on apache start?
to get rid of the encryption and set it to root access only?
or to run a script that tells apache the password on boot
i choose option 1
but it depends on you
there's no good reason why anyone other than root should be able to read the keyfile
well, option 2 would still have only root access
but what I'm worried about is removing the encryption- is this seen as a problem?
by some people
but keeping the key in some other file on your machine is not much more secure, is it?
probably the more paranoid ones
the paranoid ones settle for the machine not being rebootable without human intervention
that's a good idea for a datacentre
hehe
but it wouldn't work for me
neh here we seldom have power for more then 100 days at a time
100 days is good
yeah
but you know, if you have 24-hour staff and all that, it's not a big issue
but then.. if i have to manually start stuff at the server im quite doomed sometimes..
when it's just me and my server's on the other side of the world where the power is a little better...
yeah thats true
well, i just use keyfiles without passwords.
what can you do?
does that question your answer?
is this an appropriate channel to ask questions about Lucene?
the yogurt maker?
no, the apache search engine
would you ask about tomcat here?
try the mailing lists.
will do, thanks
of the appropriate channel, if there is one.
fajita, allow
allow is http://httpd.apache.org/docs-2.0/mod/mod_access.html#allow or http://httpd.apache.org/docs/mod/mod_access.html#allow http://httpd.apache.org/docs/2.2/mod/mod_authz_host.html
wow, google, yahoo, and msn all tried to get to my site today
anyone familiar with Virtual Hosts and ip:port based listening? (im using a dns service to cloak 8080) i'm in need of some help setting up a few domains with my apache windows server thanks.
hi
what's up, OmiKrOn.
you were given clear instructions numerous times
I am trying to optimize my server and wrote a script that calls 10 requests / second. Basically the first 10 requests are ok. After that i get a 404 error on whateverimage.jpg. The logs says File does not exist: /home/httpd/vhosts/music/httpdocs/images/artist_sign.jpg_
what's with the underscore?
I'm guessing your script is broken.
er.. i wrote it myself.. how come the first 10 queries are working?
file_get_contents(http://www.music4real.com/images/centertable_01.jpg
failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
its the 11th you need to debug dont worry about the first 10
this is the first error on the 11th thread
file_get_contents(http://www.music4real.com/images/artist_sign.jpg
failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
in /root/thread.php on line 20
i don`t see any _ after artist_sign.jpg
apache doesn't lie. You made a bogus HTTP request.
i don`t think that warning doesn`t lie either right?
ok i`ll vardump on the 11th rquest
your script generates incorrect requests.
apache responds with a 404, and your script reports that response.
I fail to see the apache issue
and I tried to follow them and am still having problems , thus why I am back here asking for help
-----http://www.music4real.com/images/artist_sign.jpg FAILED----
here is the snip too
if (!file_get_contents($url)){
echo "\n\n-----$url FAILED----\n\n";
}
can you access it with a web browser?
during the scripts run i get the same error
if you can, go to #yourscriptlanguagehere and debug your script
same think in the log
it's not the script dude .. what the heck i just pasted you debug info
ok let me see the packets
I was able to see the image with firefox
therefore, your script failed
fix your script
a typical dirty variable bug
counter solution i am not running it now
but anyway ... it's the script
crap
as we always said, yes, it's the script's fault.
ok is this the best place to ask a suggestion about a php accellerator?
you can always try
something like memcached and such?
we're likely to send you to ##php
what do you guys recommend?
to speed up php, try ##php
port it to c
hi
hi.
mwuahahah
Redirect /robots.txt http://www.textlibrary.com/download/moby-dic.txt
robots.txt
5
lawl?
for anyone familiar with the deb apache packages
what's the difference between the apache2 and apache2.2-common packages?
they seem to conflict, but provide the same version of apache (2.2.3
)
not sure, ask #debian
heh
would a 460mb robots.txt discourage crawlers?
since i cant have a robots.txt and a .htpasswd protecting my whole site
if it's over 4k or so they will ignore it
errm oh
with apache CGI, apparently output to stderr is not outputted to the client. is there any way to make it so?
summon fajita
I can't even begin to imagine why you would need a 460mb robots.txt file.
depends on the language you're using, fury.
um. the language?
the best way to discourage robots is to provide them with a short, simple, syntactically correct robots.txt file, telling them politely to shove off
robots which don't respect robots.txt don't bother requesting it.
the ones that do request it will generally obey it.
I can't even begin to imagine what sort of reason jpeg could be coming up with to support the theory that a 460mb robots.txt might be necessary.
fajita!
i am a she.
what are you talking about?
read more carefully.
or think harder....
cgi's send stderr to the error log
stop fucking with the bot
read more carefully? I'm asking what possible use anybody on earth would ever have a use for a 460mb robots.txt file, and you're talking about what language a website is programmed in?
That has absolutely nothing to do with it.
if you want something else, reopen stderr as stdout early in your cgi
no, I was trying to answer your question about cgi filehandles, fury. it's language dependent.
yeah that's not a bad idea, thanks.
oh heh
and how you do that depends on the fucking language, idiot.
hey now
now is the time for all good men to come to the aid of the ... oh, wait. now is now.
get em fajita
bah. sorry.
behave
Yeah Baybee!
lol 461mb now
yea babay
fajita MultiViews
MultiViews is http://httpd.apache.org/docs/mod/core.html#options or http://httpd.apache.org/docs/mod/mod_negotiation.html or http://httpd.apache.org/docs-2.0/content-negotiation.html
Hi, when I POST to a file from an outside domain, I get a 302 Found and then it redirects to the same page and loses the POST info but then it gives 200 and says the content is now GET, but php web hosting is unable to access it from
$_GET
##php ---
anybody have a clue as to why it's redirecting instantly without even a confirmation
teh step one
I don't think it's PHP, I think ith as something to do with apache since it's redirecting before the page loads
step 1
Whatever the problem, step 1 is always to look in the error log.
there won't be an error
compu73rg33k, .htaccess file?
..or access log, in this case
posts don't redirect
did you see what i said above about robots.txt?
rici, no
to save you the trouble of scrolling up:
the best hosting way to discourage robots is to provide them with a short, simple, syntactically correct robots.txt file, telling them politely to shove off
robots which don't respect robots.txt don't bother requesting it.
the ones that do request it will generally obey it.
User-agent: *
/
botassbitches
I have the livehttpheaders output if anybody is interested
well, no - but you might be
you can't redirect a POST
rici, the page is automatically getting redirected - what do you mean I can't redirect a post?
you click submit
thats not automatic
the action page is getting redirected
it loads the action page with a error 302 and redirects to itself and loses the post values
http://sktsoft.com:1356/Mark/headers.txt
that's what i meant by "you can't redirect a post"
it turns into a get and you lose the post data
look very closely at that file you just pasted and you'll see what's going on.
yeah I know that's what happens
look at the Host: headers in the two requests
but I still can't access the GET data in PHP - but it shouldn't be redirectingin the first place
header in the 302
.htacess
there is no get data
you can't redirect post's
the data vanishes
it's irritating sometimes.
http://www.hosting.zymic.com/register.php to http://hosting...
or make them all www.
thats the problem right
rite?!!
Jesus fucking christ thank you so much rici I changed the action to www.hosting.zymic.com and it works
You are my savior haha
I was thinking maybe that'd be hte problem then I didn't think you were supossed to put www in front of subdomains
the problem is that your server is redirecting hosting.zymic.com to www.hosting.zymic.com
why, i don't know. maybe you're doing that yourself
but it's quite clear from that header report
yeah thank you very much
I didnt' set the server host up so this problem has been killing me
"We asked for signs. The signs were sent. The birth betrayed, the marriage spent. The widowhood of every government. Signs for all to see..."
I was just forced to integrate it with another server's site code and god damn I can't believe that was what was messing up - thanks for the spot
Leonard Cohen, The Anthem
:/
i think i could quote all of it. we used it as a reading at our wedding
"every heart to love will come, but like a refugee.... ring the bells, the bells that ring"
it sounds like a memorable event, if that was the case
Can I ask a quick mod_rewrite question in here?
it was nice
you can.
yes. next question?
not you thorpe, you've used up your quota.
it certainly goes along with your usual intellectual prowess
Im having some trouble with a rule to direct ALL my traffic to a php front controller.
this is the rule
RewriteRule ^(.*)$ mymvc/core/init.php/$1 [L]
it works when I type http://mydomain.com/anythinghere
is that done in an htaccess file?
however not when I simply type http://mydomain.com
yes... sorry.
there is a little more in the file, but i didnt want tp paste it all here.
apc
Try using http://apache.pastebin.ca - It's a good pastebin, and is even set up to highlight Apache 'stuff'.
by all means, use that pastebin
thanks... will do.
i actually have the entire problem already pasted in a php forum... could I post a link?
you can post a link to the post from the pastebin
ok.
which laptop would you guys get - http://www.newegg.com/Product/Productcompare.aspx?Submit=ENE&N=2030260032%20103980226%201041006877%201039806696&bop=And&CompareItemList=N82E16834280004%2CN82E16834115368
which laptop would you guys get - a href="http://www.newegg.com/Product/Productcompare.aspx?Submit=ENE&N=2030260032%20103980226%201041006877%201039806696&bop=And&CompareItemList=N82E16834280004%2CN82E16834115368"http://www.newegg.com/Product/Productcompare.aspx?Submit=ENE&N=2030260032%20103980226%201041006877%201039806696&bop=And&CompareItemList=N82E16834280004%2CN82E16834115368/a
that doesn't sound apache related.
one that'll drive you insane and wish you never bought it
yeah sorry I'm just looking for technological advice I'm torn between the two and no one around my house knows dick about computers - sorry for the message thoug hI suppose
then you'll have lots to do
try #linux
or #hardware
okay thanks
ok... ive posted my .htaccess and a short description at http://apache.pastebin.ca/613469
thankyou
I have a suggestion
you should drop the rewritecond's, and simply rewrite the url
since you're rewriting in another directory, the rule will not loop
I'll try that
if it does, you should use a better rewritecond anyway
get the everex
now I'm getting - The server encountered an internal error or misconfiguration and was unable to complete your request.
dedicated video memory, plus a better card
what does the error log say, exactly?
prior to that I was getting an error saying i didn't have permission to access /
what did the error log say, before?
4 2007] [error] [client 192.168.10.2] mod_rewrite: maximum number of internal redirects reached. Assuming configuration error. Use 'RewriteOptions MaxRedirects' to increase the limit if
ok, it's looping.
g'nite all
that's a good things
looping
looping is http://rewrite.drbacchus.com/rewritewiki/Looping
Would there be any benefit to storing gzipped files such as images and pages that would normally be dynamically compressed and then serving those if the UA allows it? I can see this as being beneficial.
read that factoid, and build a proper rewritecond
ok... looking at it now.
thanks.
such as
if the URI is not... mymvc/core/init.php/*, then rewrite it...
or something following that logic.
ok.. that makes sense.
so
RewriteCond %{REQUEST_URI} !...
I'll leave the rest to you for now
ask us here if you can't figure that line out.
I have pressing issues to resolve for work.
no worries, thanks muchly
not unless your webapps are very cpu intensive.
certainly not for images. gzipping images helps not
For any file really
if the file is 23gb, ye
but for a page of 30k, it's probably not worth the hassle
Know of any way to get the raw compressed content before a browser can decompress it?
huh?
Please state the nature of your computing emergency
you want to see what the raw output looks like?
I want to save the compressed output.
It might not be beneficial, but I would like to do some benchmarks
you could probably do it with curl
telnet,
i think curl deflates, but it probably has an option not to.
curl has a zillion options
it's just regular gzip
you could also just use a caching reverse proxy, that's a more generic solution to the specific one you seem to be trying to make
Doesn't seem to be...
http://pastebin.ca/613476
I also tried gzipping it and it didn't want to work.
don't use php
well, it's not quite the same. iirc there's a header on gzip
There are headers, maybe I need to send them with Apache
mod_gzip
mod_gzip is http://sourceforge.net/projects/mod-gzip/ http://schroepl.net/projekte/mod_gzip/
foo.compressed
i can gunzip the result with gunzip, by the way. i don't know what problem you're having
Seems gzip is working, I think I am having a problem with the headers now.
http://pastebin.ca/613525
why don't you just use apache to do the compression?
Is there a header I can send that will prevent a browser from using its cache for a particular virtual host?
no, just for a page
but you can certainly send the header on everything in a virtual host
no-cache?
no-cache is _not_ set
Cache-control: no-cache
no-cache is _not_ set
in the header?
wait
client side
i thought fajita had that factoid
cache
cache is goodee mod_cache
no cahce
oops
oops is an understatement... :P
no cache
hmm
http://www.mozilla.org/projects/netlib/http/http-caching-faq.html
insight in to mozilla and cache decisions
Anyone any Idea why my webalizer stats are getting so messed up? http://www.lloydsenergy.co.uk/webalizer/usage_200707.html
define messed up
ta
follow the link
I did.
it looks ok.
scroll down
what section in particular?
you could just tell us
159684330042800614793194670929695499280551857863487298815601052133240218713462629635321827397061841614832439382030741519094343586516098472538768086206168322703573090676956334282098558942071447642243865936461740098859992349138660824119731174844002795889894562980613399262161641068706053881581251934212325376
oh, those.
those is different books
this number keeps appearing all over the place
I have no idea where those numbers come from
probably courrpted log files
we don't really support/modify webalizer anyway...
or cache
I deleted all the log files
rm the webalizer cache
check the apache error log for anythign suspicious.
errr
check the apache error log for anythign suspicious.
and I rmed all the cache
could someone please take a look at this issue with my .htaccess / mod_rewrite rules? http://apache.pastebin.ca/613557 . I had been told it was something to do with looping and was refered to http://rewrite.drbacchus.com/rewritewiki/Looping?action=highlight&value=loop however I am still unable to resolv the issue. Any help?
anyone know how I could block a c class in htaccess?
deny from 123.456.1
you just answered yourself
how can i start apache?
k thx
lol
apachectl start
apachectl start is how you start apache
am i correct?
i don't know, nko_
l
k
fast response o_O
That's a good topic, it solved my problem.
hi, why does the output from phpinfo() get more verbose when i enable imagick.so in my php.ini
(yes, i have asked in #php)
6 2007] [notice] child pid 5044 exit signal Aborted
magick/exception.c:845: ThrowMagickExceptionList: Assertion `exception-signature == 0xabacadabUL' failed.
this might explain it..
ha
image magick
image magick is 1the only thing that's claiming a corrupted image.
gd or imagemagick? take your pick on which sucks more...
megaspaz / fajita erm..?
gain ssl host authentication using a certificate pair AND in addition still require a Digest authentication...
yep, I'd think so. 2 factor auth
if someone want to access foo.html on my domain, I want him to read foo.html under another domain
reprase the question
I want a visitor explore http://a.com/bar.html, I want his/her to access http://b.com/foo.html
so when a visitor goes to example.con/bar.html, they really see other_example.com/bar.html?
exactly
mod_rewrite is what you need, but its going to be ugly
yes, mod_rewrite is my solution. But I do not now how to do it
Alias
Alias is http://httpd.apache.org/docs/2.2/mod/mod_alias.html#alias
wait.. are both sites on the same server?
no, seperate servers
ah, then you need:
reverse proxy
reverse proxy is http://www.apachetutor.org/admin/reverseproxies
yeah! thank you
in apachectl -l should I see a mod_php if php host was built with apache?
I was wondering, how come apache does not have obsd's chroot patches?
noodl, does reverse proxy use bandwidth
to jsoft ,apache 1.3 will run in chroot by default
"httpd: Syntax error on line 199 of /etc/httpd/conf/httpd.conf: Cannot load /root/ispconfig/httpd/libexec/libphp5.so into server: /root/ispconfig/httpd/libexec/libphp5.so: undefined symbol: ap_user_id
yes, because the whole request/response is going though the proxying server
i'd guess that you're using a module compiled for a different version of apache
is there another setting for mod_rewrite to enable .htaccess rules becasue on my debian etch box I can rewrite to work from teh vhost config file but not the .htaccess file in teh same dir
are you sure?
if you can use the vhost config file you shouldn't be using .htaccess anyway. especially for mod_rewrite
ok..
I'd still like to get it working but I can live with the vhost
thanks noodl
AllowOverride
AllowOverride tells Apache what things you wish to permit in .htaccess files. See http://httpd.apache.org/docs/2.2/mod/core.html#allowoverride
for mod_rewrite to work in htaccess you need to set AllowOverride FileInfo and Options FollowSymlinks
so 'AllowOverride FileInfo, Options, FollowSymlinks, RewriteEngine, RewriteOptions, RewriteBase, RewriteCond, RewriteRule'?
hmm?
hold on let me take a look at my vhost file
"AllowOverride FileInfo" and "Options FollowSymlinks" or change the ones that are already there
OK i think I got it
where do i got to read about what all the http://httpd.apache.org/docs/2.2/mod/core.html#options do?
nevermind
um, on that page you just linked to?
it's late for me
yea yea
thanks noodl
not trying to be sarcastic.. that's the page that described them
no I know I linked the page before a read moe then 3 lines down
and am not feeling kinda stupid
ReeriteRule not now
Ok... I need to get to sleep before I make more of a foll of my self
...fool
hehe, tomorrow
damn it... thanks again noodl
Anyone use the mpm-itk MPM ?
hi
my access.log keeps track of samba accesses too. should I separate them and how?
how'd you manage that?
hehe. did you set CustomerLog to something like /var/loc/access.log?
never touched the settings
where is the CustomerLog? let me check
I want to link a zope server port:8080 to apache :80 using the Rewrite rule , can any body tell which are the modules I have to compile for this to work properly ?
oh, did i try that? how wierd. meant CustomLog sorry
type.. gah, i should go back to bed
for apache 2.2 you'll need mod_rewrite, mod_proxy & mod_proxy_http
CustomLog? in httpd.conf or smb.conf?
CustomLog logs/access_log common
noodl I installed apche2.2 through FreeBSd6.2 ports collection , I haven't compile it with mod_rewrite,but compiled with mod_proxy ..how can I do enable those in a later stage , because I finished the apache installation
usually you'd use apxs but i don't know if that's the freebsd way
noodl, if the apache config file shows that the line LoadModule /libexec/modulename.... can I assume that the named module is already compiled with default installation ?
have a look in the modules directory
okay
I have CustomLog logs/access_log common
and is that the same as used by samba?
log file = /var/log/samba/log.%m
let me show you one entry in access.log
6 +0300] "PROPFIND /mtozses HTTP/1.1" 405 289 --- mtozses is a home dir on the samba
noodl, can I copy the required module from another weserver with same apache2.2 , and co[pied to libexec/apache22/ and by adding the line LoadModule xxxxx libexec/xxxxx xxxx.so will it work ?
ok, but that's nothing to do with samba. that's a failed attempt at a DAV request
if they're both freebsd and both the same arch it should work
noodl, Thank you .
what's a DAV request?
mod_dav
mod_dav is http://httpd.apache.org/docs-2.0/mod/mod_dav.html or http://webdav.org/mod_dav/ or http://www.webdav.org/mod_dav/install.html#apache
I have many of that kind of lines and all are samba shares
something thinks your server is hosting DAV services
405
405 is Method Not Allowed
but its not
Bezüglich Rails wird einem ja der Eindruck vermittelt, dass man
dergleichen damit recht schnell und unkompliziert programmieren kann -
Argh
wrong window
Python/Turbogears ist aber dafuer sehr besser geeignet
aber Ich bin dem schnellest
Rails ist eher nutzlich wenn man sich schon mit perl gut auskennt
Mit Perl? Im Ernst?
Ja - ruby ist perl am meisten aehnlich
however I is very better suitable snaps
genuegt es nicht, wenn man sich einfach einigermaszen mit Ruby auskennt?
that's google take on my awful deutsch
Python ist fuer ein absolut Anfanger eher realistisch
Ah - doch. Ruby ist ruby
what nonsense are you talking about? that one find ruby easy if one knows perl?
Well, sort of
I presumed jMCg was talking about Rails in the context of someone who hadn't programmed much before
Seems like he's talking about someone who already knows ruby - in which case it's perfect
bSeems like he's talking about someone who already knows ruby - in which case it's perfect /b
well.. both actually. The one to whom the mail was knows both Ruby and Rails -- the other one, who wrote the mail doesn't know anything, I assume.
the third line, which I didn't paste was:
10 mal schneller als mit anderen Sprachen/Toolkits.
If you already know ruby, probably. If you don't, I'd disagree on that
hi, how can i change the apache header to fake another server?
why? e.g. with mod_security
what language --- other than Python --- would you suggest for ...something.
I think.. somewhere around the middle of this sentence I lost my ..uhm..something..to make sentences with sense.
if something is learning, haskell, scala, caml
Well, it depends a bit what 'something' is
I've realized that I'm no longer productive with languages such as C or PHP.. or.. Java..... so I thought maybe I should try a different paradigm... [I'm not ready yet to admit that I suck with programming ;]
why doesn't password protected directories/sites (through .htaccess) work with ssl
uhm... scala is... kinda like... Java.
the same config worked fine before switching to ssl
is there something extra to add to .htaccess?
not quite... it's a pretty nice intro to functional programming for java programmers
besides it has the actor concurrency model and some other niceties
yeeesh...
ssloptions
ssloptions is http://httpd.apache.org/docs-2.0/mod/mod_ssl.html#ssloptions
ssloptions context
server config, virtual host, directory, .htaccess
ssloptions override
SSLOptions may be used in .htaccess files if AllowOverride is set to Options
If you truly want something new, try Prolog =p
Prolog isn't actually new :P
lisp is the oldest
and bestest
writing httpd.conf in prolog would be new and fun!
is that available for 1.3?
there was no ssl in 1.3
only third-party stuff
I have ssl setup with Apache 1.3
you have a third-party addon
and presumably
EAPI
EAPI is Apache 1.x for "Extended API". Using SSL with Apache 1.x requires changes to the API. That is a recipe for segfaults unless you rebuild everything from source all the time. The easy fix is an upgrade to Apache 2
or 2.2.x, for that matter.
well... so the answer is no, I can't have auth and ssl
unless I upgrade to v2
I'll just code my own login page
um, I'm sure you can, but you'd need to RTFM for how
I read before coming in here
seen some mod_ssl checks and the ssl hosting options for v2
7], somedude [1y, 48d,
rolf
you should really prefix the commands
silly bot
that's me :P
seen fajita
5
yango mutilated her
morning
what can I do you for today, teite?
anyone ever used authnz_ldap_module ?
hi
what should i do to make php be able to write files?
linux
liberates you from the tortuous complexities and bugs/viruses of windows and the costs of commercial unix, but the downside is that Linux distros do nasty things with their apache packages
yes. Many, actually.
do you really want that?
Hi, how can I set LocationMatch to not matching a file?
yes
i heard about some special permissions but i can't find it
so
uhm...... you should not.. NEVER use Location for stuff that could match anything existent on the filesystem.
anyone?
s/bulibuta/buscon/
ok, so how can I do ?
special permissions such as making the directory belong to the group apache is running as and making it writable?
i dunno... can you give me any links to docs?
I don't know.. so let's try the other way around: What is the problem you're trying to solve.
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)
grep -E '(User|Group)' httpd.conf
chgrp $Group /path/to/dir && chmod g+w /path/to/dir
unix 101?
i haven't a clue
I need apache authentication for any file except one
:-/
then why use location match, when there's
filesmatch?
filesmatch is http://httpd.apache.org/docs-2.0/mod/core.html#filesmatch or http://httpd.apache.org/docs/mod/core.html#filesmatch
filesmatch ! thefileyoudon'wantauth(n|z)for
ok, thanx
Or the need for the missuse of LocationMatch
mm
wtf
hello
got a problem with my apache server again
[root@localhost ~]# /usr/local/apache2/bin/apachectl start
Syntax error on line 53 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/libphp5.so into server: /usr/local/apache2/modules/libphp5.so: cannot restore segment prot after reloc: Permission denied
turned it off last night
try to turn it on this morning and that comes up
selinux
selinux is The New Universal Scapegoat! http://www.nsa.gov/selinux/ httpd FAQ: http://fedora.redhat.com/docs/selinux-apache-fc3/ TIP: Use 'setenforce 0' to set permissive and test, man the
following: chcon, getsebool, setsebool - Use `ls -alZ` to see context; More: http://fedoraproject.org/wiki/SELinux - http://danwalsh.livejournal.com/
^
check /var/log/messages
to confirm
you probably solved it the other day by disabling selinux and didn't set it always disabled. The real solution would be to give the proper permissions with chcon
uyou probably solved it the other day by disabling selinux and didn't set it always disabled. The real solution would be to give the proper permissions with chcon/u
Related Topic: