@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet


Comments:

<0> Are there any restrictions in Apache 1.3's CGI setup which would prevent a CGI script from being able to chmod a file?
<1> nothing in apache itself, that's generally an operating system permissions thing
<1> the file would need to be owned by the same user that apache runs as I imagine
<0> That's what I was thinking. However, the files are being created with the proper permissions. I just wanted to double-check.
<0> I have a client who says he can't access these files via FTP when he sets permissions properly via CGI script.
<2> check those manually? would surely answer the question faster than guessing+voodoo.
<0> Thanks, sparky.
<3> anyone know of a prgram thatll act as a GUI for the apache setup



<3> er setup file
<4> biatch!
<5> hi. i'm trying to setup apache to make some learning experiments. when I go to http://localhost/ the sample webpage appears. however, if try that from another computer, I can reach it. first of all, which ip should i use on the other computer? my ifconfig says one, www.whatismyip.com says another. i'm behind an ethernet switch and then a router.
<5> i ment "I can't reach it"
<5> thanks beforehand
<6> depends where the other computer is.
<6> if it's on your network, use the ifconfig address. also known as your LAN ip.
<6> if it's outside your network, use the internet ip. which is what whatismyip.com tells you.
<6> so basically, use your internet ip.
<5> both the computers behing the ethernet switch have the same internet address
<5> when i use that address it show the isp modem configuration page.
<6> heh
<5> there must be some port mapping to identify different computers from outside right?
<6> wait...
<6> it's a switch? not a router?
<6> yea, you need NAT.
<6> with port forwarding.
<5> a router, then a switch
<6> i don't really know anything about switches.
<5> isp modem -> router (little, not a PC or something) -> switch
<6> not sure how the switch affects things.
<6> ***uming it doesn't, you need to get to your router's settings and set port 80 (or whatever port you're serving on) to forward to your server.
<6> (use your LAN ip there)
<5> hum... that won't mess up the home config?
<5> I will still be able to access the modem configuration pages?
<5> (they are very needed because isp is always messing things with speed)
<6> yes.
<5> thanks :)
<5> i'm getting there
<7> I'm trying to enable requests to /~user/ . I have commented out #UserDir disabled and added UserDir public_html in httpd.conf . also, i chmodded my home dir to 711 and the public_html dir to 755 . i still keep getting 403 permission denied. any ideas why?
<7> oh yeah, i've also restarted apache (version 2.0) after each of these changes
<8> check your error log.



<7> error log says "(13)Permission denied: access to /~mark/index.php denied". seems to be a simple permissions issue
<7> hmm, wait. is it trying to acces ~mark off the root?
<8> seems that way. perhaps you need to load a module.
<9> Userdir /home/*/public_html
<9> thats what i have to use..
<9> thats strange..
<9> cause Userdir htdocs doesnt work
<9> but its told to work in the httpd.conf
<9> :Z
<9> no wonder if people have trouble with it sometimes
<9> ehh..
<9> I meant Userdir public_html
<9> and the i set up that <Directory /home/*/public_html> too..
<9> ahh
<9> im just mumbling
<7> twkm: thanks. I'll see if i can figure out what module it needs
<7> "Recent releases of Fedora Core and other Linux distributions using SELinux have additional access restrictions beyond those used by the basic filesystem. Violations of these restrictions will also result in a Permission denied message."
<7> bingo
<7> i bet i'm getting owned by SElinux since I'm on CentOS
<7> sweet. got it. if anyone's interested, on CentOS you have to do "chcon -R -t httpd_user_content_t public_html"
<7> thanks for listening to my rambling :D
<9> aha!
<9> i see.
<7> oh, i'm cookin' with gas now!
<10> i've downloaded httpd-2.2.0.tar.gz but i don't know how to install it.
<10> isn't there a compiled version of apache, that i could download?
<8> perhaps.
<9> i wonder what os that alohaarts was on?
<11> hy azer
<12> valk
<12> hows ya been ?
<12> this is so wrong..
<12> http://w.ick.ca/5276
<12> and people really input that info...
<11> hum


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #apache
or
Go to some related logs:

#php
#linuxhelp
#java
carnies in toronto
#php
#teens
#c++
Cient timed out while answering challenge
www.Amerk.com
#skype



Home  |  disclaimer  |  contact  |  submit quotes