[EMAIL PROTECTED] print() on closed filehandle error

2008-09-20 Thread mk27

...because I can't append a text file in the html directory.

Hi -- I just installed apache (from .rpm) on fedora 7 to learn perl CGI
with.  I notice that I can't overwrite or append anything existing in
/var/www/html from a cgi script in /var/www/cgi-bin, regardless of
permissions and ownership.  I presume this is blocked by apache.  What can I
do to reconfigure this?
-- 
View this message in context: 
http://www.nabble.com/print%28%29-on-closed-filehandle-error-tp19583936p19583936.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.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]



Re: [EMAIL PROTECTED] print() on closed filehandle error

2008-09-20 Thread Dan Poirier

On Sat, September 20, 2008 5:29 am, mk27 wrote:
> I notice that I can't overwrite or append anything existing in
> /var/www/html from a cgi script in /var/www/cgi-bin, regardless of
> permissions and ownership.  I presume this is blocked by apache.  What
> can I do to reconfigure this?

As far as I know, permissions and ownerships are all that can be involved
here.  By default, apache is usually configured to handle requests as a
user with minimal privileges, e.g. "nobody" or "www".  By design this user
typically does not have any privileges to change files in /var/www/html
(or much of anywhere else) to minimize the damage that could be done if
a security bug in apache allowed the child process to be compromised.

Anyway, there are several ways you can handle this.

1) (most common) store your data in a database instead of in
the file system.

2) use suexec to run your CGI as another user

3) change the permissions on some files so the apache user can
modify them

4) change the user that apache runs as.

-- 
Dan Poirier <[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] Configuration Problems

2008-09-20 Thread André Warnier

William A. Rowe, Jr. wrote:

André Warnier wrote:


Not knowing Vista, I have not much to contribute, 


the bit of information you are missing is file permissions and UAC (User
Access Control).  Clearly a file permission problem, because it didn't
silently accept their change as a private copy that the system would
ignore.  Run notepad (for example) "as administrator" and the file can
be modified; alternately run


but a little bit of advice :

Re : C:\Program Files\Apache Software 
Foundation\Apache2.2\conf\httpd.conf


If you are really at the beginning, and if this is not forbidden in 
Vista, I would suggest to de-install your Apache package, and 
re-install it in a directory such as "C:\Apache2.2" or even "C:\Apache2".
That will take you 5 minutes now, and save you later many keystrokes, 
many typos and many headaches.


No argument.  I've determined to do this for my classroom work, since
students copying from an overhead are prone to mistype.  The permissions
may be prickly though,

Paths with spaces in them bite you sooner or later, and that one is 
really terrible. Can't even paste it into an email without wrapping it 
around.

And think of your  sections in your httpd.conf later..


Two points.  Quote the pathnames, it's trivial.  Secondly, try ^C/^V,
it spares you a ton of embarrassment.  (It has for me.)


I was thinking of sections like

do something


do something else


do something else

etc Even with copy-and-paste and quotes, it quickly becomes a pain.

And spaces in paths will give you headaches, as soon as you start doing 
more advanced things such a rewriting URLs for instance.




I really don't know why the Apache Windows package creators embed such 
a terrible path by default in that installer.


Because c:\ pollution is even worse, and MS choose the convention, not us.
Give me a break and complain to them.

The next solution will be worse.  The proper solution is that the actual
configuration is a per-user mess living in a tree that is named;

  c:\Users[*]\Application Data\Apache Software Foundation\Apache2.2\

[*] Documents and Settings for all you poor XP/2003/NT users



You might not be aware that in non-US/UK versions of Windows, this will 
also be different, such as "Dokumente und Einstellunge", "Documentos y 
Parametros", and so on.
Also "Program Files" becomes variously "Programme", "Archivos de 
Programa", "Fichiers de Programmes", and "Application Data" becomes 
"Datos de Programa", "Anwendungsdaten" and so on.
I do not know where your classroom work takes places, nor if there is 
any concern about distributing these settings or instructions to a 
multi-lingual audience that might be using other that US/UK versions of 
Windows.  But if there is, you might want to take this into account, or 
it might well confuse some.


The fact the MS uses a conventional MS way to do things, does not 
necessarily mean that everyone else has to blindly follow it.
Particularly open-source packages and particularly for such packages as 
Apache, where the audience almost by default is the world at large.


There is a creeping tendency to do so however.  I am waiting impatiently 
for the Windows Apache version's "cute paperclip popup assistant" to 
show up.





-
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] Slow (Delayed) CGI request

2008-09-20 Thread John McGowan
I've got several apache servers that have been running for quite some time.
We don't normally use CGI in production, but I have a reason to use it now.
So, I've placed the CGI program, setup the config, and the CGI works.
However, every request to *any* of the executable CGI programs that I have
all have about a 10s delay before executing.  Seems to be some sort of
network timeout or bad DNS going on in the background, but I just can't find
anything wrong with the config.

It's not a matter of the scripts themselves being slow... a simple
helloworld perl script takes the same 10s as the captcha image generator
that need to get working.

What's strange is that I have this problem across all of my servers...  some
are FC3, 4, some are CentOS 5, Some are apache 2, and some are apache 2.2

The only thing i could think of was Host Name Lookups, or some misspelling
in "Allow from all"  I've cleared those.  In fact, I sent my conf files to a
friend, and he got them up and running on his server, and didn't have the
same problem.

Can anybody think of some reason why this 10s delay would occur when hitting
these simple CGI scripts?  I'm pretty sure the delay is outside of apache,
due to the varied configurations it's happening on, but I'm stuck.

-- 
John


Re: [EMAIL PROTECTED] Slow (Delayed) CGI request

2008-09-20 Thread Matt
On Sat, Sep 20, 2008 at 3:33 PM, John McGowan <[EMAIL PROTECTED]> wrote:

> I've got several apache servers that have been running for quite some
> time.  We don't normally use CGI in production, but I have a reason to use
> it now.  So, I've placed the CGI program, setup the config, and the CGI
> works.  However, every request to *any* of the executable CGI programs that
> I have all have about a 10s delay before executing.  Seems to be some sort
> of network timeout or bad DNS going on in the background, but I just can't
> find anything wrong with the config.
>
> It's not a matter of the scripts themselves being slow... a simple
> helloworld perl script takes the same 10s as the captcha image generator
> that need to get working.
>
> What's strange is that I have this problem across all of my servers...
> some are FC3, 4, some are CentOS 5, Some are apache 2, and some are apache
> 2.2
>
> The only thing i could think of was Host Name Lookups, or some misspelling
> in "Allow from all"  I've cleared those.  In fact, I sent my conf files to a
> friend, and he got them up and running on his server, and didn't have the
> same problem.
>
> Can anybody think of some reason why this 10s delay would occur when
> hitting these simple CGI scripts?  I'm pretty sure the delay is outside of
> apache, due to the varied configurations it's happening on, but I'm stuck.
>
> --
> John
>
>
>

What an ace problem. I dont know the answer, but here are some questions.
Have you used telnet over ssh while logged on locally on each servers to
make sure its not with something common to the setups, which would mean that
even locally it would take 10seconds. Im assuming a GET verb is used. Was
your hello world perl script just that, or did it have a db connection are
have part of the captcha generator code in common.
Do you use perl elsewhere on the servers other than the cgi-bin with no
issues. how big is your path? Have you tcpdumped the request, Im assuming
TTFB is the problem, that would tell you what the server was doing. Are
using a proxy, or a firewall to hide these servers?


Re: [EMAIL PROTECTED] Slow (Delayed) CGI request

2008-09-20 Thread Matt
On Sat, Sep 20, 2008 at 4:33 PM, Matt <[EMAIL PROTECTED]> wrote:

>
>
> On Sat, Sep 20, 2008 at 3:33 PM, John McGowan <[EMAIL PROTECTED]> wrote:
>
>> I've got several apache servers that have been running for quite some
>> time.  We don't normally use CGI in production, but I have a reason to use
>> it now.  So, I've placed the CGI program, setup the config, and the CGI
>> works.  However, every request to *any* of the executable CGI programs that
>> I have all have about a 10s delay before executing.  Seems to be some sort
>> of network timeout or bad DNS going on in the background, but I just can't
>> find anything wrong with the config.
>>
>> It's not a matter of the scripts themselves being slow... a simple
>> helloworld perl script takes the same 10s as the captcha image generator
>> that need to get working.
>>
>> What's strange is that I have this problem across all of my servers...
>> some are FC3, 4, some are CentOS 5, Some are apache 2, and some are apache
>> 2.2
>>
>> The only thing i could think of was Host Name Lookups, or some misspelling
>> in "Allow from all"  I've cleared those.  In fact, I sent my conf files to a
>> friend, and he got them up and running on his server, and didn't have the
>> same problem.
>>
>> Can anybody think of some reason why this 10s delay would occur when
>> hitting these simple CGI scripts?  I'm pretty sure the delay is outside of
>> apache, due to the varied configurations it's happening on, but I'm stuck.
>>
>> --
>> John
>>
>>
>>
>
> What an ace problem. I dont know the answer, but here are some questions.
> Have you used telnet over ssh while logged on locally on each servers to
> make sure its not with something common to the setups, which would mean that
> even locally it would take 10seconds. Im assuming a GET verb is used. Was
> your hello world perl script just that, or did it have a db connection are
> have part of the captcha generator code in common.
> Do you use perl elsewhere on the servers other than the cgi-bin with no
> issues. how big is your path? Have you tcpdumped the request, Im assuming
> TTFB is the problem, that would tell you what the server was doing. Are
> using a proxy, or a firewall to hide these servers?
>
>
>

oh yeah and how did you clear the host name lookups as an issue? again
tcpdump would tell you.


Re: [EMAIL PROTECTED] What is the Difference between A webserver(apache) and an application server?

2008-09-20 Thread solprovider
On 9/19/08, Varuna Seneviratna <[EMAIL PROTECTED]> wrote:
> What is the Difference between A webserver(apache) and an application
> server?
>
> Varuna

- A server handles centralized processing for multiple client computers.
- A basic Web server serves HTML pages and associated content (images,
other files) using the HTTP protocol.
- An application server runs one or more interactive applications.
- Web applications add dynamic interaction to the HTTP protocol.  This
was first handled with CGI scripts -- the HTTP request triggered an
external (to the Web server) program on the server.  Web servers later
incorporated the ability to include programming (Java servlets, better
integration of PERL, etc.).

Apache httpd has many modules for creating applications.  Apache httpd
is also commonly used as a (front-end) proxy to multiple (back-end)
applications servers (e.g. Tomcat, Geronimo, Cocoon, and non-Apache
Web application servers).

For more details, search Wikipedia for "Application server", "Web
server", "Web application server", and even "Apache HTTP Server".

solprovider

-
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] Configuration Problems

2008-09-20 Thread Eric Covener
On Sat, Sep 20, 2008 at 9:10 AM, André Warnier <[EMAIL PROTECTED]> wrote:
> The fact the MS uses a conventional MS way to do things, does not
> necessarily mean that everyone else has to blindly follow it.
> Particularly open-source packages and particularly for such packages as
> Apache, where the audience almost by default is the world at large.

IMO when someone takes the time to create a binary distribution for a
platform, it should follow the platforms filesystem standard as much
as possible.  Why would a larger audience dictate installing the
software in a non-standard path?

> And spaces in paths will give you headaches, as soon as you start doing more 
> advanced things such a rewriting URLs for instance.

Shouldn't be different then any other directive -- If you embed a
space in an argument, quote the argument.

-- 
Eric Covener
[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] What is the Difference between A webserver(apache) and an application server?

2008-09-20 Thread Nick Kew
On Sat, 20 Sep 2008 09:13:14 +0530
"Varuna Seneviratna" <[EMAIL PROTECTED]> wrote:

> What is the Difference between A webserver(apache) and an application
> server?

It's whatever you want it to be.

Just like apache itself, which is commonly deployed in both roles,
as well as serving as a frontend (proxy, cache, aggregator) for
other servers.

"Our wonderful product is a great application server, theirs is
merely a webserver".

-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/

-
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] Slow (Delayed) CGI request

2008-09-20 Thread Nick Kew
On Sat, 20 Sep 2008 09:33:28 -0500
"John McGowan" <[EMAIL PROTECTED]> wrote:


> Can anybody think of some reason why this 10s delay would occur when
> hitting these simple CGI scripts?

Does your keepalive timeout affect them?

If so, your scripts are violating the CGI spec, and that's a symptom.
Worth checking.

-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/

-
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] What is the Difference between A webserver(apache) and an application server?

2008-09-20 Thread Johnny Kewl

  - Original Message - 
  From: Varuna Seneviratna 
  To: users@httpd.apache.org 
  Sent: Saturday, September 20, 2008 5:43 AM
  Subject: [EMAIL PROTECTED] What is the Difference between A webserver(apache) 
and an application server?


  What is the Difference between A webserver(apache) and an application server?


  Varuna

Various levels of complexity ;)
At one level the answer is, they different stupid.
At a higher level, the answer is, not much, same thing, different flavor.
The more you learn, the closer they get.
In general Java has cornered the brand name "application server", and there 
are many.

On the spectrum, it moves through web pages, they become intelligent web 
pages (CGI, PHP, servlets), they become remote procedure calls (SOAP and Web 
services), they become managed beans (little applications) called the 
application server.

However that sequence is not orderly, a good PHP developer may knock the 
pants of a Java servlet developer and a Java servlet developer may run rings 
around an EJB coder... it depends on what you doing, and how good you are with 
various tools.

There are some nice distinguishing charateristics.
When a system switches from delivering web a pages to doing remote 
procedure calls.
When the client is a browser, or when the client becomes another 
application.
Some technology feels very much like a tool, others you definitely know you 
living in someone elses system (world).
Some systems mix, in others its near impossible to introduce another system.
The POJO cult versus the EJB cult
The KISS (keep it simple stupid) versus complexity cult.

There is no short cut, you need to look at em all...

The one you looking at is an anchor, you just got to know Apache httpd.
The other one thats worth looking at is Tomcat.
These two systems mix well, and will probably cover 95% of your needs.
That other 5% is a difficult choice... SOAP versus EJB versus POJO etc.

Its a good question, you need to learn em, or else you will never make the 
right choices.
Choosing incorrectly, can get one into big trouble, round peg, square hole 
problems that only emerge after 6 months of work.

They are certainly all interesting, and once you have studied them, you see 
the patterns.
Dont learn em, and they can bite ;)

Have fun... 

  ---
  HARBOR : http://www.kewlstuff.co.za/index.htm
  The most powerful application server on earth.
  The only real POJO Application Server.
  See it in Action : http://www.kewlstuff.co.za/cd_tut_swf/whatisejb1.htm
  ---




[EMAIL PROTECTED] Detailed access control for WebDAV ?

2008-09-20 Thread Bjoern Voigt

Hello,

I wondered about the fact, that detailed access control rights for 
WebDAV shares are relatively difficult to configure in Apache 2.2. To 
show this, I give an relatively simple example. But you also can skip 
this example.


A small group of users "group1" should have full access to a directory 
"/dir1".


Another group "group2" which should only have full access to some 
subdirectories of "/dir1", e.g. "/dir1/dir11". But "group2" users 
should be capable to browse to their subfolders using an WebDAV client 
(e.g. MS explorer). That means, that they need a "browse right" (for 
MS explorer this is PROPFIND and OPTIONS).


Technically spoken I want to have such rights:

"group1" on "/dir1": everything
"group2" on "/dir1": PROPFIND, OPTIONS
"group2" in "/dir1/dir11": everything

Here is my configuration:



require group group1 group2



require group group1




require group group1 group2


This configuration works as expected. 


Is there no better solutions for configuring access rights?

Currently the access control features of Linux (standard UNIX rights or 
ACLs) are not really used, because Apache uses only 1 user for all 
client connections.. I think about running an Apache server instance for 
each WebDAV user so that the Linux rights could be used. But this causes 
other problems, e.g.


  1. How to configure the Apache proxy, so that all users have a common
 start directory?
  2. How could the users configure the access rights with their client?
  3. Are there other WebDAV servers, which could better deal with
 detailed access rights for WebDAV?

Do you have any ideas or example configurations?

Greetings,
Björn

-
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] Configuration Problems

2008-09-20 Thread Dragon

André Warnier did speak thusly:

You might not be aware that in non-US/UK 
versions of Windows, this will also be 
different, such as "Dokumente und Einstellunge", 
"Documentos y Parametros", and so on.
Also "Program Files" becomes variously 
"Programme", "Archivos de Programa", "Fichiers 
de Programmes", and "Application Data" becomes 
"Datos de Programa", "Anwendungsdaten" and so on.
I do not know where your classroom work takes 
places, nor if there is any concern about 
distributing these settings or instructions to a 
multi-lingual audience that might be using other 
that US/UK versions of Windows.  But if there 
is, you might want to take this into account, or it might well confuse some.


The localization issues should be handled by 
using the correct tokens in the installation 
script that represent the proper directories in 
the installation hierarchy. All of the current 
Windows installation tools (either Microsoft 
written or third party) have tools to properly 
handle the installation if these are used. The 
issue comes more so in documenting things in 
print than in installing them. I can only assume 
that the Apache developers have done the right 
thing so it gets installed where it should and there is no issue with this.


While some people may not like Microsoft's 
conventional file layout, it is well supported in 
the tools used to package distributions. Not to 
mention that most installation scripts I have 
seen give you the option of placing it in the 
default location or in a location you choose if you don't like the default.


The fact the MS uses a conventional MS way to do 
things, does not necessarily mean that everyone else has to blindly follow it.


No, it doesn't, but when the expectation of the 
majority of users is that certain things will be 
found in certain places, why should you surprise 
them? The principal of "least surprise" is a good one to follow.


I use Windows on my own machines both at home and 
for work, I EXPECT programs to be installed in 
the Program Files directory and not in the root 
directory or any non-standard location. I also 
work on a variety of other servers on other 
platforms and I generally leave things in their 
default locations to make support easier. The 
only times I don't do this is if I have a damn good reason to make changes.


Particularly open-source packages and 
particularly for such packages as Apache, where 
the audience almost by default is the world at large.


A moot point if the installation script in the 
distribution was properly set up. Again, I expect 
the developers publiching the Apache Windows 
distribution were savvy enough to do so.



There is a creeping tendency to do so however.


Let me ask you this... if you are running a 
distribution like Ubuntu or RHEL, are you going 
to follow their file hierarchy or are you going 
to decide it is all wrong and do it your own way?


Each OS has a standard for where things live, 
Microsoft is no different from any other OS 
vendor in that they too have a standard. Whether 
you like how they do it or not is all personal preference.


I am waiting impatiently for the Windows Apache 
version's "cute paperclip popup assistant" to show up.


Apache isn't a Microsoft product, this statement 
is just absurd and I think a bit insulting to the Apache developers.


Dragon

~~~
 Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)
~~~


-
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] Turning on-off Apache service in Win XP Pro SP 3

2008-09-20 Thread Jonathan Tremone
HI,

 

Thank you for the opportunity to be part of this group.  Using the wizard, I
installed Apache 2.2.9 (clean installation) using the selection "port 8080"
since I have another program that is using port 80.  The problem I'm having
is that I see the Apache logo in the task bar but Apache doesn't exist in
Windows XP PRO XP 3 "SERVICES" list so I can't manually turn on/off the
server.  I've looked at the error log and there doesn't seem to be any
errors.  Any assistance would be appreciated.  

 

Kind regards,

 

Jonathan Tremeon

 



[EMAIL PROTECTED] RE: Port 8080 turning on-off Apache service in Win XP Pro SP 3

2008-09-20 Thread Jonathan Tremone
HI,

 

Thank you for the opportunity to be part of this group.  Using the wizard, I
installed Apache 2.2.9 (clean installation) using the selection "port 8080"
since I have another program that is using port 80.  The problem I'm having
is that I see the Apache logo in the task bar but Apache doesn't exist in
Windows XP PRO XP 3 "SERVICES" list so I can't manually turn on/off the
server.  I've looked at the error log and there doesn't seem to be any
errors.  Any assistance would be appreciated.  

 

Kind regards,

 

Jonathan Tremeon

 



Re: [EMAIL PROTECTED] Configuration Problems

2008-09-20 Thread André Warnier

Dragon wrote:


I am waiting impatiently for the Windows Apache version's "cute 
paperclip popup assistant" to show up.


Apache isn't a Microsoft product, this statement is just absurd and I 
think a bit insulting to the Apache developers.


Dragon


Without the preceding bit, it is taken a bit out of context.
Nevertheless, you are right.
The statement above was out of line and unjustified by anything Apache I 
have seen so far.
I did not mean it that way, and I really apologise to the Apache 
developers for any such perception.
Apache is a package which I have used as a fundamental tool for at least 
10 years, on more platforms than I can remember, and with no serious 
problem that I can remember. I could not have done without, and still 
could not.
It is definitely the greatest general-usage open-source application in 
existence, and I want to express my thanks for it, and reiterate my 
deepest apologies to the entire Apache team for even suggesting the 
stupid thing above.


I my own defense, I think it was a knee-jerk reaction to a previous 
comment, and to some things I have lately seen appearing in Windows 
versions of some (other) open-source packages in their Windows 
incarnations, such as the by-default settings that download and install 
updates without asking.


André


-
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] Turning on-off Apache service in Win XP Pro SP 3

2008-09-20 Thread André Warnier

Jonathan Tremone wrote:

HI,

 


Thank you for the opportunity to be part of this group.  Using the wizard, I
installed Apache 2.2.9 (clean installation) using the selection "port 8080"
since I have another program that is using port 80.  The problem I'm having
is that I see the Apache logo in the task bar but Apache doesn't exist in
Windows XP PRO XP 3 "SERVICES" list so I can't manually turn on/off the
server.  I've looked at the error log and there doesn't seem to be any
errors.  Any assistance would be appreciated.  


Mmm, that sounds interesting.
A few questions, to shed a bit more light for potential helpers :
1) what do you mean above by "SERVICES list" ?
2) if you open a command window, and type "net start", in the list which 
appears, do you see anything that looks like Apache ?
3) if you know how to use the Registry Editor, do you see the Apache 
service at this location :

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Apache2.2
?
4) if yes, can you make a screenshot of the right-side window and post 
it ? or, at least, tell us if you see a label like "DisplayName", and 
which value is at the extreme right of that line ?
5) you mention that you see the Apache logo in the task bar. What 
happens if you click on it ?
6) can you connect to your Apache with your browser ? 
(http://127.0.0.1:8080)



-
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]



FW: [EMAIL PROTECTED] Turning on-off Apache service in Win XP Pro SP 3

2008-09-20 Thread Jonathan Tremone
Hi Andre,

I wasn’t expecting such a quick reply but thanks!  Answers to each question
follows:

1) Services List - in Windows XP Pro > Start ? Control Panel >
Administrative > Services.  Apache does not appear in this "Service" area.
2) Command window and type "net start" - Answer: "The command has completed
successfully" however, nothing about Apache is listed in all the programs
3) I do not know how to use the Registry Editor
4) see #3
5) Click on Apache logo in bottom right task bar: 
- "Hover" No services installed
- "Right Click" Open Apache Monitor, Open Services, Exit
- "Double Click" OK, Services, Connect, Exit - all other selections
are unselectable

6) In web browser typed "http://127.0.0.1:8080"; Failed to Connect Firefox
can't establish a connection to the server at 127.0.0.1:8080. Though the
site seems valid, the browser was unable to establish a connection.
* Could the site be temporarily unavailable? Try again later.
* Are you unable to browse other sites?  Check the computer's network
connection.
* Is your computer or network protected by a firewall or proxy?
Incorrect settings can interfere with Web browsing.

Does this help?
Thanks again!
Jonathan Tremeon


-Original Message-
From: André Warnier [mailto:[EMAIL PROTECTED] 
Sent: Saturday, September 20, 2008 3:22 PM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] Turning on-off Apache service in Win XP Pro SP 3

Jonathan Tremone wrote:
> HI,
> 
>  
> 
> Thank you for the opportunity to be part of this group.  Using the wizard,
I
> installed Apache 2.2.9 (clean installation) using the selection "port
8080"
> since I have another program that is using port 80.  The problem I'm
having
> is that I see the Apache logo in the task bar but Apache doesn't exist in
> Windows XP PRO XP 3 "SERVICES" list so I can't manually turn on/off the
> server.  I've looked at the error log and there doesn't seem to be any
> errors.  Any assistance would be appreciated.  
> 
Mmm, that sounds interesting.
A few questions, to shed a bit more light for potential helpers :
1) what do you mean above by "SERVICES list" ?
2) if you open a command window, and type "net start", in the list which 
appears, do you see anything that looks like Apache ?
3) if you know how to use the Registry Editor, do you see the Apache 
service at this location :
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Apache2.2
?
4) if yes, can you make a screenshot of the right-side window and post 
it ? or, at least, tell us if you see a label like "DisplayName", and 
which value is at the extreme right of that line ?
5) you mention that you see the Apache logo in the task bar. What 
happens if you click on it ?
6) can you connect to your Apache with your browser ? 
(http://127.0.0.1:8080)


-
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] Weird log message

2008-09-20 Thread Michelle Konzack
Hello,

This is the first time I have found the message in the

[ '/home_www/.Vallendor/logs/access.log' ]--
[2008-09-05 02:35:32 +0200] ::1 [www.cybercenter.tamay-dogan.net] - - "GET / 
HTTP/1.0" 200 197 "-" "Apache/2.2.3 (Debian) PHP/5.2.0-8+etch10 (internal dummy 
connection)"
[2008-09-05 02:35:33 +0200] ::1 [www.cybercenter.tamay-dogan.net] - - "GET / 
HTTP/1.0" 200 197 "-" "Apache/2.2.3 (Debian) PHP/5.2.0-8+etch10 (internal dummy 
connection)"
[2008-09-05 02:35:50 +0200] ::1 [www.cybercenter.tamay-dogan.net] - - "GET / 
HTTP/1.0" 200 197 "-" "Apache/2.2.3 (Debian) PHP/5.2.0-8+etch10 (internal dummy 
connection)"


The question is:  What is a "internal dummy connection"?

And of course, my Server is NOT configured vor  IPv6.  Also  I  have  no
VHost named .  In the DNS yes,  but  it
is not installed...

Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
24V Electronic Engineer
Tamay Dogan Network
Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
+49/177/935194750, rue de Soultz MSN LinuxMichi
+33/6/61925193 67100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


[EMAIL PROTECTED] "Alias" does not work anymore

2008-09-20 Thread Michelle Konzack
Hello,

I am using "php5" and have installed "suPHP" but now, I have since  then
a problem on a Vhost.

[ '/home_www/.Vallendor/.apache2/pgsql.private.tamay-dogan.net' ]---

ServerAdmin [EMAIL PROTECTED]
ServerName  pgsql.private.tamay-dogan.net

DocumentRoot/home_www/.Vallendor/htdocs/

Options FollowSymLinks Indexes
AllowOverride   None


ScriptAlias /cgi-bin/ /home_www/.Vallendor/cgi-bin/

AllowOverride   None
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order   allow,deny
Allow   from all


ErrorLog
/home_www/.Vallendor/CONFIG_pgsql.private.tamay-dogan.net/log/apache/error.log
LogLevelwarn

CustomLog   
/home_www/.Vallendor/CONFIG_pgsql.private.tamay-dogan.net/log/apache/access.log 
combined
ServerSignature On


#
#  Configure everything with /etc/phppgadmin
#

Alias   /phppgadmin/ /usr/share/phppgadmin/
Alias   /phppgadmin  /usr/share/phppgadmin/


suPHP_Engineoff
#   suPHP_RemoveHandler x-httpd-php
SetHandler  x-httpd-php
AddHandler  x-httpd-php .php

Options FollowSymLinks
AllowOverride   None
order   deny,allow
denyfrom all
allow   from 192.168.0.0/255.255.255.0




Now if I try to access 
I get:

Not Found
The requested URL /phppgadmin/ was not found on this server.
Apache/2.2.3 (Debian) PHP/5.2.0-8+etch10 Server at 
pgsql.private.tamay-dogan.net Port 80

Any suggestions?

Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
24V Electronic Engineer
Tamay Dogan Network
Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
+49/177/935194750, rue de Soultz MSN LinuxMichi
+33/6/61925193 67100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature