Re: [EMAIL PROTECTED] Vista

2006-09-24 Thread Jaqui Greenlees
--- John Meyer <[EMAIL PROTECTED]> wrote: > Has anybody gotten Apache to install correctly under > Microsoft Vista? > I've seen the question, and never seen an affirmative answer. as far as I know, no-one is even working on installing apache on Vista officially. Jaqui Jeff Henager: "If the a

Re: [EMAIL PROTECTED] Corrupted source files

2006-09-24 Thread Victor Star
Hi Joshua, > There are only two writing actions there: syscall_393 which is (I > believe) sendfile and the log write. Neither of those should have any > effect on your file. > Just on a whim, I would try "EnableSendfile Off" in httpd.conf. But > even if that works, the only explanation I would

[EMAIL PROTECTED] Vista

2006-09-24 Thread John Meyer
Has anybody gotten Apache to install correctly under Microsoft Vista? - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail:

Re: [EMAIL PROTECTED] testing server

2006-09-24 Thread Gerwin van de Steeg
Have you tried to see if the hostnames can be resolved correctly? From a command prompt try to ping or do a host lookup (nslookup or host) on the 3 names specified in the hosts file ie. ping websites if this works then check to see if your browser is trying to use a web proxy somewhere Tur

Re: [EMAIL PROTECTED] testing server

2006-09-24 Thread Larry
On Mon, 25 Sep 2006 11:50:15 +1200, you wrote (with possible editing): >Just for a thought, make the hosts file look something like this: > >127.0.0.1 localhost websites agendatest http://websites/ yields "Proxy Error" http://localhost/ yields "Bad Gateway" >note the lowercase Yes, I did. >an

Re: [EMAIL PROTECTED] testing server

2006-09-24 Thread Gerwin van de Steeg
Just for a thought, make the hosts file look something like this: 127.0.0.1 localhost websites agendatest note the lowercase and also for your apache config make sure you turn on Name based virtual hosts and use lowercase hostnames. read: http://httpd.apache.org/docs/2.0/vhosts/name-based.ht

Re: [EMAIL PROTECTED] Corrupted source files

2006-09-24 Thread Philip M. Gollucci
Joshua Slive wrote: > On 9/24/06, Victor Star <[EMAIL PROTECTED]> wrote: >> syscall_393(0x10, 0xf, 0, 0, 0x24f, 0xbfbfc660, 0xbfbfc658, 0) = 0 > There are only two writing actions there: syscall_393 which is (I grep 393 /usr/include/sys/syscall.h #define SYS_sendfile393 > Just on a whim, I wo

Re: [EMAIL PROTECTED] Corrupted source files

2006-09-24 Thread Joshua Slive
On 9/24/06, Victor Star <[EMAIL PROTECTED]> wrote: And completely manual request (file gets corrupted): - 8< -=== accept(4, {sa_family=AF_INET, sin_port=htons(2305), sin_addr=inet_addr("10.10.10.10")}, [16]) = 15 getsockname(15, {sa_family=AF_I

Re: [EMAIL PROTECTED] Corrupted source files

2006-09-24 Thread Victor Star
And completely manual request (file gets corrupted): - 8< -=== accept(4, {sa_family=AF_INET, sin_port=htons(2305), sin_addr=inet_addr("10.10.10.10")}, [16]) = 15 getsockname(15, {sa_family=AF_INET, sin_port=htons(1024), sin_addr=inet_addr("10.10

Re: [EMAIL PROTECTED] Corrupted source files

2006-09-24 Thread Victor Star
>>> write(7, "[EMAIL PROTECTED]"..., 156) = 156 >>> writev(16, [{NULL, 135209656}, >>> {"@*\26\10\0\0\0\0\0\0\0\0\0\0\0\0\2\0\0\0\1\0\0\0LoadMo"..., 135211888}], >>> 2) = 463 >> Looks pretty ordinary except for the above two lines. Can you try to >> figure out what the descriptor 7 is pointing t

Re: [EMAIL PROTECTED] Corrupted source files

2006-09-24 Thread Victor Star
Hi Joshua, > On 9/24/06, Victor Star <[EMAIL PROTECTED]> wrote: >> write(7, "[EMAIL PROTECTED]"..., 156) = 156 >> writev(16, [{NULL, 135209656}, >> {"@*\26\10\0\0\0\0\0\0\0\0\0\0\0\0\2\0\0\0\1\0\0\0LoadMo"..., 135211888}], >> 2) = 463 > Looks pretty ordinary except for the above two lines. C

Re: [EMAIL PROTECTED] Corrupted source files

2006-09-24 Thread Joshua Slive
On 9/24/06, Victor Star <[EMAIL PROTECTED]> wrote: write(7, "[EMAIL PROTECTED]"..., 156) = 156 writev(16, [{NULL, 135209656}, {"@*\26\10\0\0\0\0\0\0\0\0\0\0\0\0\2\0\0\0\1\0\0\0LoadMo"..., 135211888}], 2) = 463 Looks pretty ordinary except for the above two lines. Can you try to figure out w

Re: [EMAIL PROTECTED] Corrupted source files

2006-09-24 Thread Victor Star
Hi Joshua, > Change your Listen directive to a port over 1024 and then strace after > starting from a non-root account. I've tried this one as well, finally made it work after fiddling with permissions. Here is the log (looks the same as the previous one): - 8< -=

Re: [EMAIL PROTECTED] Corrupted source files

2006-09-24 Thread Victor Star
Ok, I've been able to get some tracing info by running strace -u www -p (attaching to the running process). Here's what I got: - 8< -=== getsockname(16, {sa_family=AF_INET6, sin6_port=htons(80), inet_pton(AF_INET6, ":::10.10.10.60", &sin6_ad

Re: [EMAIL PROTECTED] Corrupted source files

2006-09-24 Thread Joshua Slive
On 9/24/06, Victor Star <[EMAIL PROTECTED]> wrote: I've tried strace -u www httpd -X but the result is exactly the same as above. As far as I know Apache needs to start as root to begin listening http ports and switches to www user later for securinty reasons. And yes, I'm starting it with -X

Re: [EMAIL PROTECTED] Corrupted source files

2006-09-24 Thread Victor Star
Hi Joshua, >> I tried it with no luck. I'm far from being a debugger expert, but what's >> happening doesn't look >> normal to me. strace starts fine and writes tons of stuff when the server >> starts. I wait until it's >> done and make a request to that web page. Page is displayed but nothing i

Re: [EMAIL PROTECTED] Corrupted source files

2006-09-24 Thread Joshua Slive
On 9/24/06, Victor Star <[EMAIL PROTECTED]> wrote: Hi Joshua, > And you are sure that the file on the server itself becomes corrupted? Yes, absolutely. That's the first thing I've checked. It is the file on server. > Try running "strace apachectl -X" and see if you can track down where > stuff

Re: [EMAIL PROTECTED] Corrupted source files

2006-09-24 Thread Victor Star
Hi Joshua, > And you are sure that the file on the server itself becomes corrupted? Yes, absolutely. That's the first thing I've checked. It is the file on server. > Try running "strace apachectl -X" and see if you can track down where > stuff is getting written to disk. In the default config,

Re: [EMAIL PROTECTED] Using relative paths in

2006-09-24 Thread Joshua Slive
On 9/24/06, Steve Swift <[EMAIL PROTECTED]> wrote: If you want relative to the Document Root then consider using On 24/09/06, Vinay Y S <[EMAIL PROTECTED] > wrote: > Hi, > I want to use relative paths in and > all other places wherever paths are required; and change only the > ServerRoot and

Re: [EMAIL PROTECTED] Corrupted source files

2006-09-24 Thread Joshua Slive
On 9/24/06, Victor Star <[EMAIL PROTECTED]> wrote: That's what I just tried. Re-installed Apache with the default configuration. "It works!" index.html really works, doesn't get corrupted. Now I dropped my own html file in there without changing any config. And it breaks. I started working from

Re: [EMAIL PROTECTED] Using relative paths in

2006-09-24 Thread Steve Swift
If you want relative to the Document Root then consider using On 24/09/06, Vinay Y S <[EMAIL PROTECTED] > wrote:Hi,I want to use relative paths in and all other places wherever paths are required; and change only theServerRoot and DocumentRoot based on where my server is installed. Iwant to know i

Re: [EMAIL PROTECTED] SCRIPT_URL not being set.

2006-09-24 Thread Steve Swift
I've never come across SCRIPT_URL - were you thinking of SCRIPT_NAME ?On 24/09/06, Karl Orbell <[EMAIL PROTECTED] > wrote:Hello, a server I'm working with is running:   Apache/2.0.55 PHP/5.1.2   With a lot of RewriteRules working fine.   However, sometimes I need to know what the request was before

Re: [EMAIL PROTECTED] Corrupted source files

2006-09-24 Thread Victor Star
>> I'm new to Apache. I've just installed Apache 2.2.3 on FreeBSD 6.0. >> Configured it and got it >> running. But I'm having something that looks like quite a weird problem. >> I've done my research on >> Google, read FAQ and docs but couldn't find anything even closely resembling >> my situati

[EMAIL PROTECTED] Using relative paths in

2006-09-24 Thread Vinay Y S
Hi, I want to use relative paths in and all other places wherever paths are required; and change only the ServerRoot and DocumentRoot based on where my server is installed. I want to know if this path is relative to DocumentRoot or ServerRoot. What I have observed till now is that it isn't relati

[EMAIL PROTECTED] SCRIPT_URL not being set.

2006-09-24 Thread Karl Orbell
Hello, a server I'm working with is running:   Apache/2.0.55 PHP/5.1.2   With a lot of RewriteRules working fine.   However, sometimes I need to know what the request was before processing, so I always use SCRIPT_URL - but for some reason it doesn't appear to be set.  I know the Rewrites are workin

Re: [EMAIL PROTECTED] Corrupted source files

2006-09-24 Thread Joshua Slive
On 9/23/06, Victor Star <[EMAIL PROTECTED]> wrote: Hi, I'm new to Apache. I've just installed Apache 2.2.3 on FreeBSD 6.0. Configured it and got it running. But I'm having something that looks like quite a weird problem. I've done my research on Google, read FAQ and docs but couldn't find anyt