Re: [EMAIL PROTECTED] Apache Installation - Vista

2008-11-23 Thread William A. Rowe, Jr.
MartinC wrote:
> (OS 10013)An attempt was made to access a socket in a way forbidden by its
> acces
> s permissions.  : make_sock: could not bind to address 0.0.0.0:80
> no listening sockets available, shutting down
> Unable to open logs
> Note the errors or messages above, and press the  key to exit.  14...
> 
> Got school work I need to do! Damn it!

Then stop the other servers currently bound to port 80 damn it!

E.g... IIS is still running?  Another Apache instance?  lighttpd?

-
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] Script: '/usr/www/...' in httpd-error.log?

2008-11-23 Thread robert arnesson
Hello all,

I get plenty of error messages in my httpd-error.log like the ones shown
here

[Sun Nov 23 11:34:42 2008]  Script:  '/usr/www/example/core/js/wall.php'
[Sun Nov 23 11:35:35 2008]  Script:  '/usr/www/example/core/js/wall.php'
[Sun Nov 23 11:36:07 2008]  Script:  '/usr/www/example/core/inc/out.php'
[Sun Nov 23 11:36:32 2008]  Script:  '/usr/www/example/core/inc/out.php'

I have been trying to figure out what is causing this for a long period of
time now but without any luck.
The files mentioned are real files and are used a lot by all ligit users
visiting the site. They are functioning properly and generates no php errors
etc.
The error loglevel is set to error.

What is causing these errors?

Any help is appreciated! Thanks.


/Robert Arnesson


Re: [EMAIL PROTECTED] How to connect from a remote machine

2008-11-23 Thread André Warnier

Albert Joseph wrote:
[...]
I am running a stand-alone (not part of any network) machine on Windows
2000 Professional.
[...]
Now, I need to connect to the server from a remote machine.  What http
address should I use ?

Well, assuming the two first sentences above are true, you are really
going to have a problem.
;-)




-
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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Script: '/usr/www/...' in httpd-error.log?

2008-11-23 Thread André Warnier

robert arnesson wrote:

Hello all,

I get plenty of error messages in my httpd-error.log like the ones shown
here

[Sun Nov 23 11:34:42 2008]  Script:  '/usr/www/example/core/js/wall.php'
[Sun Nov 23 11:35:35 2008]  Script:  '/usr/www/example/core/js/wall.php'
[Sun Nov 23 11:36:07 2008]  Script:  '/usr/www/example/core/inc/out.php'
[Sun Nov 23 11:36:32 2008]  Script:  '/usr/www/example/core/inc/out.php'

I have been trying to figure out what is causing this for a long period of
time now but without any luck.
The files mentioned are real files and are used a lot by all ligit users
visiting the site. They are functioning properly and generates no php errors
etc.
The error loglevel is set to error.

What is causing these errors?

The above do not look like messages that Apache itself is writing to the 
error log.  It must be either your php scripts themselves, or the php 
module you are using to run these scripts that puts these messages 
there.  That is where you need to look.


-
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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] My worker constantly crashing

2008-11-23 Thread morgan gangwere
On 11/17/08, Frank Kimbell <[EMAIL PROTECTED]> wrote:
> custom build from the source.
>
>  what else do you want to know?
>
>  please let me know.
>
>
>  -
>  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: [EMAIL PROTECTED]
>"   from the digest: [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
>
>

try with only a stock install from your preferred binaries. this
eliminates changes you've made to the core source. then see if your
worker runs properly
-- 
Morgan gangwere

"Space does not reflect society, it expresses it." -- Castells, M.,
Space of Flows, Space of Places: Materials for a Theory of Urbanism in
the Information Age, in The Cybercities Reader, S. Graham, Editor.
2004, Routledge: London. p. 82-93.

-
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] httpd 2.2.8 not responding to client requests

2008-11-23 Thread morgan gangwere
On 11/17/08, Paul Doubek <[EMAIL PROTECTED]> wrote:
> Well... thanks for the input... it was the firewall after all. I had used
> the GUI to "disable" it but it must have still been running. I edited the
> /etc/sysconfig/iptables files per another article I found and bounced the
> server... still didn't work. I finally went back into the GUI Firewall admin
> tool, enabled the firewall, and told it to pass traffic for ports 80 and
> 443. Now I can hit the web server from both the SuSE and WinXP boxes. I
> guess it won't hurt to have a firewall on this machine, but since it's only
> a development server and it's sitting behind my Internet firewall I intended
> to get the Fedora firewall out of the way.
>
>  Thanks again, Morgan, for the advice.
>
>  Paul Doubek
>
>  Paul Doubek wrote:
>
> > Morgan, thanks for the quick reply... see below:
> >
> > Morgan Gangwere wrote:
> >
> > > Paul Doubek wrote:
> > >
> > > > -Telnet from either box to Fedora's port 80 fails (SuSE: "No route to
> host", WinXP: Connect failed"), but telnet to Fedora's port 22 succeeds.
> > > >
> > >
> > I've looked in all the log files in /var/log/httpd. The only time I see
> any activity in those log files is if I access the Fedora web server from
> the Fedora machine (locally). It acts as if Apache is never seeing the
> traffic from the other two machines, but it appears to me that the OS is
> seeing the requests. That's what let me to look for (and find) the Fedora
> firewall running.
> >
> >
> > >
> > >
> > > > -Disabled the Fedora firewall as it was enabled when the build was
> complete.
> > > > -Have changed /var/www/html and all it's contents to be owned by
> user/group apache/apache, all have 755 permissions.
> > > >
> > > >
> > >
> >
> >
> > > Try going from the Fedora box to the SuSE box. If that works, routing is
> working one way. Make sure everything is in place and you //may// just find
> your problem.
> > >
> >
> > I will work that direction a little more. I actually hoped that in the act
> of trying to describe the problem the solution would come to me, as seems to
> happen quite often. I agree... it behaves like a routing problem except I
> can ping and TN both directions... so it seems like it's got to be a
> Transport or Session layer thing. I've been looking for some clue that would
> indicate either httpd or the OS is trapping or rejecting the packets but I'm
> striking out.
> >
> >
>
>
> -
>  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: [EMAIL PROTECTED]
>   "   from the digest:
> [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
>
>
glad to hear. i was going to suggest packet sniffing on the fedora box

-- 
Morgan gangwere

"Space does not reflect society, it expresses it." -- Castells, M.,
Space of Flows, Space of Places: Materials for a Theory of Urbanism in
the Information Age, in The Cybercities Reader, S. Graham, Editor.
2004, Routledge: London. p. 82-93.

-
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] How to connect from a remote machine

2008-11-23 Thread Brian Mearns
Just so there's no confusion, I believe what André is saying is that
if its not part of a network, then you can't connect to it, however
the Internet is a network, so if you're connected to that, you're
fine.

-Brian

On Sun, Nov 23, 2008 at 8:35 AM, André Warnier <[EMAIL PROTECTED]> wrote:
> Albert Joseph wrote:
> [...]
> I am running a stand-alone (not part of any network) machine on Windows
> 2000 Professional.
> [...]
> Now, I need to connect to the server from a remote machine.  What http
> address should I use ?
>
> Well, assuming the two first sentences above are true, you are really
> going to have a problem.
> ;-)
>
>
>
>
> -
> 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: [EMAIL PROTECTED]
>  "   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Script: '/usr/www/...' in httpd-error.log?

2008-11-23 Thread robert arnesson
I will try to take a look at that.

The strange thing is that php errors are turned off, so it shouldnt log
anything. Also, this only occurres on a few php-files, not on the rest, and
there is no major differences between the files that show up in the log
compared to the files thats not showing up.

/Robert

On Sun, Nov 23, 2008 at 2:45 PM, André Warnier <[EMAIL PROTECTED]> wrote:

> robert arnesson wrote:
>
>> Hello all,
>>
>> I get plenty of error messages in my httpd-error.log like the ones shown
>> here
>>
>> [Sun Nov 23 11:34:42 2008]  Script:  '/usr/www/example/core/js/wall.php'
>> [Sun Nov 23 11:35:35 2008]  Script:  '/usr/www/example/core/js/wall.php'
>> [Sun Nov 23 11:36:07 2008]  Script:  '/usr/www/example/core/inc/out.php'
>> [Sun Nov 23 11:36:32 2008]  Script:  '/usr/www/example/core/inc/out.php'
>>
>> I have been trying to figure out what is causing this for a long period of
>> time now but without any luck.
>> The files mentioned are real files and are used a lot by all ligit users
>> visiting the site. They are functioning properly and generates no php
>> errors
>> etc.
>> The error loglevel is set to error.
>>
>> What is causing these errors?
>>
>>  The above do not look like messages that Apache itself is writing to the
> error log.  It must be either your php scripts themselves, or the php module
> you are using to run these scripts that puts these messages there.  That is
> where you need to look.
>
> -
> 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: [EMAIL PROTECTED]
>  "   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Vänliga hälsningar/Best regards

Robert Arnesson
Ventio AB

E-mail: [EMAIL PROTECTED]
Phone: +46(0)736 41 61 14
Web: www.ventio.se
Address: Holländargatan 27
SE-113 59 Stockholm
Sweden


RE: [EMAIL PROTECTED] httpd.exe -k restart not working on Windows console

2008-11-23 Thread Hollie Hollis
You might want to try uninstalling httpd, then reinstalling but this time
tell it to put it in c:\apache\ instead of letting it drop into the default
Program Files location. I suspect something isn't liking all the spaces in
the path to the binary file.

-Original Message-
From: Michael Hipp [mailto:[EMAIL PROTECTED] 
Sent: Saturday, November 22, 2008 2:09 PM
To: users@httpd.apache.org
Subject: [EMAIL PROTECTED] httpd.exe -k restart not working on Windows console

I've installed Apache 2.2.10 on my Windows XP laptop for testing purposes. I

did *not* install it as a service but am running it as a console application

on port 80.

According to this:
http://httpd.apache.org/docs/2.2/platform/windows.html#wincons

I should be able to do 'httpd.exe -k restart' to have it reload so I can
test 
different configurations easily. But when I do that it says:

 >"C:\Program Files\Apache Software Foundation\Apache2.2\bin\httpd.exe" -k
restart
[Sat Nov 22 13:32:31 2008] [error] (OS 2)The system cannot find the file 
specified.  : No installed service named "Apache2.2".

Any ideas on how I can get this to work?

Thanks,
Michael Hipp
Heber Springs, Arkansas, USA


-
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] URL protection with Encryption on the HTML Source Code

2008-11-23 Thread Lucio Godoy

Hi All; I am using: Fedora 8, Apache version 2.2.8, MySQL version 5.0.45. I 
have been developing a restricted web site (username/password authenticated via 
PHP onto a MYSQL user table) which will allow users to retrieve movies that 
they have FTP uploaded from their mobile phones. The uploading is working fine 
with proftpd/mysql combination, and the movie is transfered to the users 
directory. When the user wants to retrieve the movie, they login to the website 
and a dynamic list of movies is built and the user clicks on the image 
thumbnail and a pop-up screen starts to play the movie automatically. My 
problem is that the URL that relates to the user/movie is fully displayed if 
you look at the html source code. For an experienced programmer they can quick 
workout the URL/PATH and download somebody else's movie. I would like somehow 
to encrypt the Movie URL, making almost impossible for somebody to workout the 
path to the directory, much like what youtube does (I think). This is my html 
code:  https://www.example.com/www/1191247361/ftp/00_16_55_01_7A_90_2008_08_21_06_08_05.avi";
 />https://www.example.com/www/1191247361/ftp/00_16_55_01_7A_90_2008_08_21_06_08_05.avi";
 width="341" height="388" autostart="true" align="middle" 
filename="https://www.example.com/www/1191247361/ftp/00_16_55_01_7A_90_2008_08_21_06_08_05.avi";
 showstatusbar="True" defaultframe="mainFrame">  
 
if the unscrupulous user cuts and pastes the above url, they can access the 
content directly without any authentication. Thank you for your help and 
suggestions. Lucio
_
See the most popular videos on the web 
http://clk.atdmt.com/GBL/go/115454061/direct/01/

RE: [EMAIL PROTECTED] How to connect from a remote machine

2008-11-23 Thread Albert Joseph

Hi Brian Mearns,

I am still stuck.  I need to connect to my Apache from the outside world (not 
from within a LAN).  I am using an ADSL modem (not router), so I think this 
means that my server connects directly to the Internet. I used "whatismyip.com" 
to find my public IP address and gave to a friend to try to use it as the 
"http://"; address to log into my Apache, but he said he could not connect.
 
When I installed Apache I used the word "localhost" as the Network Domain and 
Server Name. Shouldn't I have done that ?
 
Thank you
 
 
_
Proud to be a PC? Show the world. Download the “I’m a PC” Messenger themepack 
now.
hthttp://clk.atdmt.com/MRT/go/119642558/direct/01/
-
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] How to connect from a remote machine

2008-11-23 Thread steve
Albert Joseph wrote:
> Hi Brian Mearns,
> 
> I am still stuck.  I need to connect to my Apache from the outside world (not 
> from within a LAN).  I am using an ADSL modem (not router), so I think this 
> means that my server connects directly to the Internet. I used 
> "whatismyip.com" to find my public IP address and gave to a friend to try to 
> use it as the "http://"; address to log into my Apache, but he said he could 
> not connect.
>  
> When I installed Apache I used the word "localhost" as the Network Domain and 
> Server Name. Shouldn't I have done that ?
>  
> Thank you
>  
>  
> _
> Proud to be a PC? Show the world. Download the “I’m a PC” Messenger themepack 
> now.
> hthttp://clk.atdmt.com/MRT/go/119642558/direct/01/
> -
> 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: [EMAIL PROTECTED]
>"   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
You need to forward port 80 on your router to the IP of the computer
running apache.  more info below.

http://portforward.com/routers.htm



-- 
Steve Reilly

http://reillyblog.com




-
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] Filesystem types for mod_proxy cache in reverse proxy

2008-11-23 Thread Neil Gunton

Hi all,

I am using Apache 2.2.9 (built from source) on Debian Lenny to run a 
fairly large community LAMP (Perl, MySQL) site. I use the proxy and 
cache of Apache to improve site performance - I have a front end proxy 
build and a back-end mod_perl build. I have been using this setup for 
years successfully, but most of that time was using Apache 1.3, with 
mod_access and mod_deflate from Igor Sysoev. Since moving to Apache 2.2, 
I am using the stock caching.


I am finding that the cache directories that mod_cache builds are very 
large, and take a long time to traverse under ext2. There is currently 
about 10 GB under the cache according to du, and it took 162 minutes 
just to tell me that. I'm using three levels of directory. Htcacheclean 
also takes a long time to process this if I run it from cron nightly, 
during which time I see a huge spike in iowait on the server. If I run 
htcacheclean in daemon mode, using the -n (nice) option, then it doesn't 
seem to be able to keep up, the cache just creeps up in size.


So what I'm observing is that at least part of the problem appears to be 
that the directory structure is just very, very big and takes a long 
time to traverse, even for basic system functions like du.


This leads to my main question, which is this: Would a different 
filesystem, perhaps reiserfs, be better for the cache? I have never used 
reiser before, but from reputation it seems to be designed for handling 
many small files efficiently. I wonder if it would be any easier for my 
system to traverse the directory and maintain the cache if it was under 
reiser rather than ext.


Has anybody any experience that would confirm or deny this theory? 
Anybody have any advice for making cache management a little more, well, 
manageable?


I have a quad core server (AMD Opteron 265), with four 10k SCSI drives 
set up in RAID0 (yeah I know it's risky, but everything is backed up 
immediately via mysql replication, and I need the space and performance).


Thanks!

Neil

-
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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] Running slow in IE only

2008-11-23 Thread Rob
Hey all,

I'm unsure whether this is a problem with Apache.

I'm having the problem where my site runs slow in IE only. In Firefox &
Safari they are lightning quick

Its very strange but my servers are setup like this:

Server 1

4 Sites hosted (4 virtual hosts)

Server 2

2 Sites hosted (2 virtual hosts)

Server 3

1 Site hosted (1 virtual host)


The strange thing is that 1 site on server one and 1 site on server two load
fast in all browsers. I haven't experience this problem before. Are they are
peformance tweeks i can do to insure the speed is quick over all browsers.

Cheers

Rob


Re: [EMAIL PROTECTED] Script: '/usr/www/...' in httpd-error.log?

2008-11-23 Thread André Warnier
I am not using PHP personally with Apache, but my son who is, tells me 
that there probably is, in each of these scripts, a like like :

error_log()
which you would just need to comment out.
// error_log()
If that doesn't do it, and if you send me one of the scripts, I'll pass 
it on to him and he might be able to tell you more.



robert arnesson wrote:

I will try to take a look at that.

The strange thing is that php errors are turned off, so it shouldnt log
anything. Also, this only occurres on a few php-files, not on the rest, and
there is no major differences between the files that show up in the log
compared to the files thats not showing up.

/Robert

On Sun, Nov 23, 2008 at 2:45 PM, André Warnier <[EMAIL PROTECTED]> wrote:


robert arnesson wrote:


Hello all,

I get plenty of error messages in my httpd-error.log like the ones shown
here

[Sun Nov 23 11:34:42 2008]  Script:  '/usr/www/example/core/js/wall.php'
[Sun Nov 23 11:35:35 2008]  Script:  '/usr/www/example/core/js/wall.php'
[Sun Nov 23 11:36:07 2008]  Script:  '/usr/www/example/core/inc/out.php'
[Sun Nov 23 11:36:32 2008]  Script:  '/usr/www/example/core/inc/out.php'

I have been trying to figure out what is causing this for a long period of
time now but without any luck.
The files mentioned are real files and are used a lot by all ligit users
visiting the site. They are functioning properly and generates no php
errors
etc.
The error loglevel is set to error.

What is causing these errors?

 The above do not look like messages that Apache itself is writing to the

error log.  It must be either your php scripts themselves, or the php module
you are using to run these scripts that puts these messages there.  That is
where you need to look.

-
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: [EMAIL PROTECTED]
 "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]








-
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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [EMAIL PROTECTED] How to connect from a remote machine

2008-11-23 Thread Albert Joseph

Steve Reilly,
 
Thank you.  I am reading http://portforward.com/routers.htm which has much 
information that I hope will lead to a solution.  This might take sometime from 
me though, since I found that I have to obtain a static IP first.
 
Thanks again.
 
_
Proud to be a PC? Show the world. Download the “I’m a PC” Messenger themepack 
now.
hthttp://clk.atdmt.com/MRT/go/119642558/direct/01/
-
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] Server config level RewriteCond not working

2008-11-23 Thread likai








Hi,

I learned that 
The RewriteCond 
has 3 kinds of context(This indicates where in the server's configuration files 
the directive is legal)
Server config, virtual host, 
directory.
I have a httpd.conf file which has several whosts.
when configuring the server config level rewritcond settings, it always failed.
And the virutual host context level settings(putting these lines within each 
) works.
 
RewriteEngine on
RewriteCond %{REQUEST_METHOD} =HEAD
RewriteRule .* - [F]

I am wondering why the server config level settings do not work.

_
新版手机MSN,新功能,新体验!满足您的多彩需求!
http://mobile.msn.com.cn