#apache
27 December 2007
Total 13 pages. You are browsing page 13/13.
First :: Prev :: [...] [9] [10] [11] [12] [13] :: Next :: Last
22:27 <****> :(
22:27 <****> DavidT: one moment. i'll tell you the right hook in a second
22:27 <****> thanks
22:27 <****> aep, http://pastebin.ca/834023
22:27 <****> Here it is.
22:28 <****> I dont see my error here... :S
22:29 <****> DavidT: child_init is after fork and post_config should be before
22:29 <****> by the way, I'm using apr_pool_userdata_get to set a flag that stops half of the process calls (so I am launching 2 process instances)
22:29 <****> yeah userdata is a good choice. there is a userdata pool that is global to apache
22:29 <****> you can get it in post_config
22:30 <****> yes, that is working, but why is post_config called twice?
22:30 <****> one for each apache instance?
22:30 <****> uh. it should be called once.
22:30 <****> lemme see
22:31 <****> aep, did you see my error_log in pastebin ?
22:31 <****> please.. :(
22:32 <****> agresor: i dont see anything. dunno sorry
22:32 <****> DavidT: you could try pre_config. but i have no clue where to register that
22:33 <****> DavidT: if nothing helps, use the monitor hook. it's guarantied to run only once
22:33 <****> just some random thoughts.
22:33 <****> that would be perfect, where do I register the monitor?
22:34 <****> i dunno. i think in the module struct
22:34 <****> i'll check it out, thanks
22:35 <****> you're welcome
23:00 <****> Is the Apache License V 2.0 compatible with GPL code?
23:01 <****> I started my own implementation of a suexec wrapper and use the clean_env function that's included in the apache 2.2.6 tree and wonder if I could choose a different license than Apache License 2.0
23:02 <****> Hi, I have apache2 running and it serves php files correctly except for index.php. If I point my browser to server/ it works fine, but if I point it to server/index.php it offers to save. What should I change to correct this?
23:02 <****> yure_, install mod_php. What distro are you using?
23:02 <****> debian
23:02 <****> debian is "we complicate it for you so you don't have to" or see /usr/share/doc/apache*/README.Debian* or http://wiki.apache.org/httpd/DebianLikePlatform
23:03 <****> I'd rather not install mod_php actually
23:03 <****> yury_, apt-get install libapache2-mod-php5
23:03 <****> I did
23:03 <****> hence why php works at all
23:03 <****> as I said, server/ renders fine
23:03 <****> server/index.php does not
23:03 <****> yury_, it doesn't. That's why it offers to download the file on your client computer. ;)
23:03 <****> they are the same file
23:04 <****> yury_, are you sure there ain't a index.html containing the right content?
23:04 <****> fairly
23:04 <****> or, completely
23:04 <****> yury_, check - and also check your access log what's happening here.
23:05 <****> odd
23:06 <****> it doesn't make an entry in the access log if I try to get /index.php
23:06 <****> but it makes one for /
23:06 <****> ... - - [27/Dec/2007:14:05:18 -0800] "GET /index.php?=PHPE9568F35-D428-11d2-A769-00AA001ACF42 HTTP/1.1" 200 2146 "http://10.1.0.2/" "Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.8.0.1) Gecko/20060206 Firefox/1.5.0.1"
23:07 <****> nothing in the error log either
23:07 <****> yury_, empty your cache.
23:07 <****> yury_, shift+reload :)
23:07 <****> better
23:07 <****> Oh, you think so, do you?
23:08 <****> lol
23:08 <****> fajita, you're a coke head. ;)
23:08 <****> ViRUS: sorry...
23:08 <****> thanks, that was stupid
23:09 <****> yury_, for such stuff I really enjoy the Web Developer Toolbar. You can disable the browser cache entirely and you won't end up scraching your head over a huge frelling "wtf"
23:09 <****> really helps avoiding headaches. ;)
23:09 <****> I am not a Web Developer
23:09 <****> ;P
23:09 <****> yury_, works for admins as well. ;)
23:09 <****> in fact, I rarely deal with Apache at all
23:09 <****> first time in ages
23:10 <****> alright. :)
23:10 <****> and now I have to deal with only because I'm upgrading a server, but I'll keep it in mind. Thank you.
23:11 <****> Anyone knows if Apache License Version 2.0 is compatible with GPL 3.0?
23:14 <****> doubt it
23:14 <****> afaik, it's not compatible with the gpl2
23:14 <****> i don't think so either
23:14 <****> so 3 supposedly being more stringent would lead me to believe, no on gpl3
23:14 <****> ViRUS: go check gnu.org
23:15 <****> it lists licenses, and tells for each of them if it is GPL compatible
23:19 <****> I think I'll just stick to the Apache License 2.0 as this is getting really complicated
23:19 <****> Hey, I'm looking for some help with dynamic vhosts using mod_vhost_alias. Basically I'd like my URL structure to be /var/www/domain/subdomain/ but I can't figure out the right VirtualDocumentRoot line which will work for tlds such as .co.uk and .com (varying numbers of segments) AND match the default http://domain.tld . Any ideas?
23:21 <****> ViRUS: http://www.gnu.org/licenses/license-list.html#SoftwareLicenses
23:21 <****> e Apache License, Version 2.0
23:21 <****> This is a free software license, compatible with version 3 of the GPL."
23:21 <****> looks like it is compatible
23:21 <****> but not with gpl2
23:21 <****> aye, I see
23:22 <****> still, I think using BSD (without advertising) or just sticking to the Apache License 2.0 is the best choice as it really won't hurt as it's basicly a rewrite of the suexec wrapper to suit my need - even if the only part that's using the original suexec source code is the clean_env function - it still feels a lot like apache sourcecode. ;)
23:29 <****> okie, I'll just be sticking to V2 of the ASF license. There really is little use in using a different license which just makes sharing the code harder.
23:35 <****> Hi! I have a domain but when I surf to the domain name, the URL is translated into an IP address rather than the domain name. Here is my apache conf: http://pastebin.com/m27e2a0ef. And you can try and see what happens here: http://xn--vegoskne-f0a.se. What am I doing wrong? Is this a bind issue maybe?
23:41 <****> sebdah: basically, set "UseCanonicalName off"
23:42 <****> else, fix your ServerName
23:43 <****> gryzor: what is wrong with my ServerName?
23:43 <****> it's probably not "xn--vegoskne-f0a.se"
23:44 <****> it is. Or rather "vegoskåne.se".
23:46 <****> so it is not
23:46 <****> ServerAlias
23:46 <****> ServerAlias is http://httpd.apache.org/docs/2.2/mod/core.html#serveralias or http://httpd.apache.org/docs/1.3/mod/core.html#serveralias
23:50 <****> Now having the following conf http://pastebin.com/m46688ee. I still have the same problem. The UseCanonicalName On|Off|DNS doesn't seem to do the trick for me
23:51 <****> sebdah: no, servername should be the internationalized domain name... does your dns resolve that name?
23:52 <****> yango: yeah, it's possible to ping the international name from another computer
23:54 <****> sebdah: yes, I see. Have you tried with another client? It might be the browser the one doing that
23:55 <****> yango: only with another browser (Fx and Opera). I dont have another PC unfortunatly
23:59 <****> yango: my DNS doesn't resolv the local domainname though.
23:59 <****> but maybe it should be like that
--- Log closed Fri Dec 28 00:00:49 2007
Total 13 pages. You are browsing page 13/13.
First :: Prev :: [...] [9] [10] [11] [12] [13] :: Next :: Last
