You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Arthur Guy <ar...@astarsolutions.co.uk> on 2005/06/19 17:54:38 UTC

[users@httpd] Windows, Apache and an ASP Module

This is my first post to this mailing list so I hope I am not making a
mistake.

I currently have a website written in ASP running on IIS; I am setting up
another system with php, apache and windows and would like to run the asp
site on there as well.
I have been looking for different ASP modules but I haven’t had much luck,
the apache site lists 3, one costs $500, the other doesn’t seem to be
windows ready and the other uses perl in some way which is something I don’t
really want to touch.

Does anyone have Windows, Apache and ASP working? What ASP package are you
using?

Thanks for you help
Arthur
 
a star solutions
arthur@astarsolutions.co.uk
www.astarsolutions.co.uk




'a star solutions' disclaimer
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. 
If you are not the intended recipient of this message you are hereby notified that any use, review, retransmission, dissemination, distribution, reproduction or any action taken in reliance upon this message is prohibited.
If you received this in error, please contact the sender and delete the material from any computer. 
Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of the company.
We believe that this communication is free from viruses and other potentially dangerous programmes, but the recipient opens this communication at their own risk. 
We assume no responsibility for any loss or damage arising from the receipt or use of this communication




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Wanted: help understanding doc for rotate log

Posted by Tim Wood <tw...@gmail.com>.
On 8/16/06, siegfried <si...@heintze.com> wrote:
[...]
>
> (2) In the documentation they say "CustomLog" and "ErrorLog". Are these
> commands I type in at the cygwin/bash command prompt? I get errors when I
> do. I don't see any such programs in /program files/apache
> group/apache2/bin.
[...]

The CustomLog and ErrorLog commands are entries that you would place
in your apache2.conf file, not applications that you run from the
command line.  See: http://httpd.apache.org/docs/2.0/logs.html

Sorry, I don't know about 1 or 3.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Wanted: help understanding doc for rotate log

Posted by Joshua Slive <jo...@slive.ca>.
On 8/16/06, siegfried <si...@heintze.com> wrote:
> I've been studying http://httpd.apache.org/docs/2.0/programs/rotatelogs.html
> and feel quite confused.
>
> I'm running windows server XP 2003.
>
> (1) Is rotate logs exclusively for httpd or can I use it for my
> cygwin/cron/perl jobs that run nightly and generate large log files?
>
> (2) In the documentation they say "CustomLog" and "ErrorLog". Are these
> commands I type in at the cygwin/bash command prompt? I get errors when I
> do. I don't see any such programs in /program files/apache
> group/apache2/bin.
>
> (3) Assuming the answer to #1 is that I can use it for my perl/cron jobs:
> how would I rotate my log files every 48 hours? Would I create a cron job to
> run once a day to run rotatelogs?

2 has been answered.

The answer to 1 is that rotatelogs is httpd-specific.  It is used only
as a piped-logging program that accepts log entries on standard input.
 It is not called from the command line.  It could be used for other
programs that have the capability of logging through a pipe to a
program, but I don't believe that is common.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] Wanted: help understanding doc for rotate log

Posted by siegfried <si...@heintze.com>.
I've been studying http://httpd.apache.org/docs/2.0/programs/rotatelogs.html
and feel quite confused.

I'm running windows server XP 2003.

(1) Is rotate logs exclusively for httpd or can I use it for my
cygwin/cron/perl jobs that run nightly and generate large log files?

(2) In the documentation they say "CustomLog" and "ErrorLog". Are these
commands I type in at the cygwin/bash command prompt? I get errors when I
do. I don't see any such programs in /program files/apache
group/apache2/bin.

(3) Assuming the answer to #1 is that I can use it for my perl/cron jobs:
how would I rotate my log files every 48 hours? Would I create a cron job to
run once a day to run rotatelogs?

Thanks,
Siegfried


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] How to setup new directories for perl scripts?

Posted by Joshua Slive <js...@gmail.com>.
On 6/21/05, Siegfried Heintze <si...@heintze.com> wrote:
> 
> 
> I am running V2.0.48 on windows 2003 Server.

You should probably upgrade.

> I am using virtual hosts and
> have successfully created some virtual hosts that allow my customers access
> to static pages. For each virtual host, I have created a document root
> directory to contain static pages.
> 
> Could someone kindly point me to the documentation that explains how to
> create cgi-bin (script) directories for each of these virtual hosts so I can
> add scripts too?

This depends on exactly what you want.  One method is simply to include a 
ScriptAlias /cgi-bin/ /full/path/to/vhost/cgi-bin
in each <VirtualHost> section.  This will override the main cgi-bin. 
Some other possibilities are discussed here:
http://httpd.apache.org/docs-2.0/howto/cgi.html#configuring

> 
> Also: I already have a single cgi-bin directory that was created by the
> initial installation. This working. However, I tried to create a single
> sub-directory in that original cgi-bin directory and place a script in
> there. The web server won't execute it. I tried chmod but that did not help.
> How can I execute scripts stored in subdirectories?

Indeed scripts in subdirectories should be executed by default when
using ScriptAlias.  Why don't you tell us what you got in the error
log when you tried to execute the script.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] How to setup new directories for perl scripts?

Posted by Siegfried Heintze <si...@heintze.com>.

I am running V2.0.48 on windows 2003 Server. I am using virtual hosts and
have successfully created some virtual hosts that allow my customers access
to static pages. For each virtual host, I have created a document root
directory to contain static pages.

Could someone kindly point me to the documentation that explains how to
create cgi-bin (script) directories for each of these virtual hosts so I can
add scripts too?

Also: I already have a single cgi-bin directory that was created by the
initial installation. This working. However, I tried to create a single
sub-directory in that original cgi-bin directory and place a script in
there. The web server won't execute it. I tried chmod but that did not help.
How can I execute scripts stored in subdirectories? 

Thanks,

Siegfried


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] Windows, Apache and an ASP Module

Posted by Arthur Guy <ar...@astarsolutions.co.uk>.
Thanks for the reply's, I am trying to run ASP not ASP.NET. The only
suitable package I found was SUN ASP which as you said was $500, the whole
idea of moving to Apache was that things would be free.

I guess I will have to stick to IIS or as Owen Boyle suggested forward
requests from apache to IIS.

Thanks
Arthur


-----Original Message-----
From: Mark McCulligh [mailto:mmcculli@visualtech.ca] 
Sent: 21 June 2005 14:33
To: users@httpd.apache.org
Subject: Re: [users@httpd] Windows, Apache and an ASP Module

The problem with ASP on Apache is that are you talking ASP or ASP.NET?

The best ASP on Apache is Sun ASP (aka Chilisoft) It will cost $500US. 
But it works well, I used it for about 2 years when I made the changes 
from Windows(IIS) to Linux(Apache).   I don't use it now as I slowly 
converted everything to PHP, But I had no problem when I was using it.

The problem is that most people are finally upgrading from ASP to 
ASP.NET while Sun ASP cannot run. ASP.NET has been out I think 5 years 
now. If you are looking to run .NET on Linux then look at the Mono 
Project. The project has taken the .NET Framework and ported it over. I 
don't know if the Mono Project will let you host ASP.NET websites on 
Linux. (I would think so).  But for your question, I don't know if you 
can install the Mono Project on Windows to be able to run ASP.NET on 
Apache. Or maybe install the Microsoft Framwork and link Apache to it 
through something. My Mono Prject experience is doing some C# internal 
applcations, not ASP.NET.

In short, ASP can be done easily with Sun ASP (But cost $500) ASP.NET 
through Apache on Windows I don't know.

Mark.





'a star solutions' disclaimer
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. 
If you are not the intended recipient of this message you are hereby notified that any use, review, retransmission, dissemination, distribution, reproduction or any action taken in reliance upon this message is prohibited.
If you received this in error, please contact the sender and delete the material from any computer. 
Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of the company.
We believe that this communication is free from viruses and other potentially dangerous programmes, but the recipient opens this communication at their own risk. 
We assume no responsibility for any loss or damage arising from the receipt or use of this communication




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Windows, Apache and an ASP Module

Posted by Mark McCulligh <mm...@visualtech.ca>.
The problem with ASP on Apache is that are you talking ASP or ASP.NET?

The best ASP on Apache is Sun ASP (aka Chilisoft) It will cost $500US. 
But it works well, I used it for about 2 years when I made the changes 
from Windows(IIS) to Linux(Apache).   I don't use it now as I slowly 
converted everything to PHP, But I had no problem when I was using it.

The problem is that most people are finally upgrading from ASP to 
ASP.NET while Sun ASP cannot run. ASP.NET has been out I think 5 years 
now. If you are looking to run .NET on Linux then look at the Mono 
Project. The project has taken the .NET Framework and ported it over. I 
don't know if the Mono Project will let you host ASP.NET websites on 
Linux. (I would think so).  But for your question, I don't know if you 
can install the Mono Project on Windows to be able to run ASP.NET on 
Apache. Or maybe install the Microsoft Framwork and link Apache to it 
through something. My Mono Prject experience is doing some C# internal 
applcations, not ASP.NET.

In short, ASP can be done easily with Sun ASP (But cost $500) ASP.NET 
through Apache on Windows I don't know.

Mark.

Arthur Guy wrote:

>Surely someone on this mailing list is using asp pages with apache and
>running windows.
>I really need an idea of what module to use to process the asp pages
>
>Thanks
>Arthur
>
>
>-----Original Message-----
>From: Joshua Slive [mailto:jslive@gmail.com] 
>Sent: 19 June 2005 19:43
>To: users@httpd.apache.org
>Subject: Re: [users@httpd] Windows, Apache and an ASP Module
>
>On 6/19/05, Arthur Guy <ar...@astarsolutions.co.uk> wrote:
>  
>
>>This is my first post to this mailing list so I hope I am not making a
>>mistake.
>>
>>I currently have a website written in ASP running on IIS; I am setting up
>>another system with php, apache and windows and would like to run the asp
>>site on there as well.
>>I have been looking for different ASP modules but I haven't had much luck,
>>the apache site lists 3, one costs $500, the other doesn't seem to be
>>windows ready and the other uses perl in some way which is something I
>>    
>>
>don't
>  
>
>>really want to touch.
>>
>>Does anyone have Windows, Apache and ASP working? What ASP package are you
>>using?
>>    
>>
>
>
>
>
>
>'a star solutions' disclaimer
>The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. 
>If you are not the intended recipient of this message you are hereby notified that any use, review, retransmission, dissemination, distribution, reproduction or any action taken in reliance upon this message is prohibited.
>If you received this in error, please contact the sender and delete the material from any computer. 
>Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of the company.
>We believe that this communication is free from viruses and other potentially dangerous programmes, but the recipient opens this communication at their own risk. 
>We assume no responsibility for any loss or damage arising from the receipt or use of this communication
>
>
>
>
>---------------------------------------------------------------------
>The official User-To-User support forum of the Apache HTTP Server Project.
>See <URL:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>
>  
>


-- 
___________________________________________
Mark McCulligh, Web Consultant
VisualTech Components www.VisualTech.ca
mmcculli@visualtech.ca
(519)318-7905


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] Windows, Apache and an ASP Module

Posted by Arthur Guy <ar...@astarsolutions.co.uk>.
Surely someone on this mailing list is using asp pages with apache and
running windows.
I really need an idea of what module to use to process the asp pages

Thanks
Arthur


-----Original Message-----
From: Joshua Slive [mailto:jslive@gmail.com] 
Sent: 19 June 2005 19:43
To: users@httpd.apache.org
Subject: Re: [users@httpd] Windows, Apache and an ASP Module

On 6/19/05, Arthur Guy <ar...@astarsolutions.co.uk> wrote:
> This is my first post to this mailing list so I hope I am not making a
> mistake.
> 
> I currently have a website written in ASP running on IIS; I am setting up
> another system with php, apache and windows and would like to run the asp
> site on there as well.
> I have been looking for different ASP modules but I haven't had much luck,
> the apache site lists 3, one costs $500, the other doesn't seem to be
> windows ready and the other uses perl in some way which is something I
don't
> really want to touch.
> 
> Does anyone have Windows, Apache and ASP working? What ASP package are you
> using?





'a star solutions' disclaimer
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. 
If you are not the intended recipient of this message you are hereby notified that any use, review, retransmission, dissemination, distribution, reproduction or any action taken in reliance upon this message is prohibited.
If you received this in error, please contact the sender and delete the material from any computer. 
Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of the company.
We believe that this communication is free from viruses and other potentially dangerous programmes, but the recipient opens this communication at their own risk. 
We assume no responsibility for any loss or damage arising from the receipt or use of this communication




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] Windows, Apache and an ASP Module

Posted by Arthur Guy <ar...@astarsolutions.co.uk>.
I hadn't seen that one, thanks.
I tried to set up that module but I couldn't get it to work, I added the
following to the httpd.conf file
#LoadModule aspdotnet_module modules/mod_aspdotnet.so 
#
#AddHandler asp.net asp asax ascx ashx asmx aspx axd config cs csproj \
#           licx rem resources resx soap vb vbproj vsdisco webinfo
#
#AliasMatch "^/(?i)aspnet_client/system_web/(\d+)_(\d+)_(\d+)_(\d+)/(.*)" \
#
"C:/Windows/Microsoft.NET/Framework/v$1.$2.$3/ASP.NETClientFiles/$4"
#
#<Directory
"C:/Windows/Microsoft.NET/Framework/v1.1.4322/ASP.NETClientFiles">
#    Options FollowSymlinks
#    Order allow,deny
#    Allow from all
#</Directory>
#
#AspNetMount /app-uri "C:/Program Files/Apache Group/Apache2/http"
#Alias /app-uri "C:/Program Files/Apache Group/Apache2/http"
#<Directory "C:/Program Files/Apache Group/Apache2/http">
#    Options FollowSymlinks Indexes Includes ExecCGI
#    Order allow,deny
#    Allow from all
#    DirectoryIndex hello.aspx
#</Directory>

The # indicate a new lines. Whenever I tried to run an asp page, it returned
a permissions error, can any one see if there are any problems with the
configuration.

I also have a feeling it only works with asp.net pages and not asp pages so
if any one knows of any other working asp modules I would love to here from
you.

Thanks
Arthur

-----Original Message-----
From: Joshua Slive [mailto:jslive@gmail.com] 
Sent: 19 June 2005 19:43
To: users@httpd.apache.org
Subject: Re: [users@httpd] Windows, Apache and an ASP Module

On 6/19/05, Arthur Guy <ar...@astarsolutions.co.uk> wrote:
> This is my first post to this mailing list so I hope I am not making a
> mistake.
> 
> I currently have a website written in ASP running on IIS; I am setting up
> another system with php, apache and windows and would like to run the asp
> site on there as well.
> I have been looking for different ASP modules but I haven't had much luck,
> the apache site lists 3, one costs $500, the other doesn't seem to be
> windows ready and the other uses perl in some way which is something I
don't
> really want to touch.
> 
> Does anyone have Windows, Apache and ASP working? What ASP package are you
> using?

I don't know much about this stuff, but there is an open-source .net
module for apache:
http://httpd.apache.org/cli/

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org




'a star solutions' disclaimer
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. 
If you are not the intended recipient of this message you are hereby notified that any use, review, retransmission, dissemination, distribution, reproduction or any action taken in reliance upon this message is prohibited.
If you received this in error, please contact the sender and delete the material from any computer. 
Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of the company.
We believe that this communication is free from viruses and other potentially dangerous programmes, but the recipient opens this communication at their own risk. 
We assume no responsibility for any loss or damage arising from the receipt or use of this communication




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Windows, Apache and an ASP Module

Posted by Joshua Slive <js...@gmail.com>.
On 6/19/05, Arthur Guy <ar...@astarsolutions.co.uk> wrote:
> This is my first post to this mailing list so I hope I am not making a
> mistake.
> 
> I currently have a website written in ASP running on IIS; I am setting up
> another system with php, apache and windows and would like to run the asp
> site on there as well.
> I have been looking for different ASP modules but I haven't had much luck,
> the apache site lists 3, one costs $500, the other doesn't seem to be
> windows ready and the other uses perl in some way which is something I don't
> really want to touch.
> 
> Does anyone have Windows, Apache and ASP working? What ASP package are you
> using?

I don't know much about this stuff, but there is an open-source .net
module for apache:
http://httpd.apache.org/cli/

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org