You are viewing a plain text version of this content. The canonical link for it is here.
Posted to asp@perl.apache.org by chrisdavc <ch...@yahoo.com> on 2002/11/02 05:39:03 UTC

dummy.asp not working on my host's servers

Hello.  I'm a beginning to this group; I'm pleased to see this 
resource for Apache::ASP.  I worked with Microsoft ASP for around 6 
months, but am a novice to Apache::ASP, so forgive my questions.  I'm 
trying to see if my hosting service DOES support Apache::ASP, as they 
claim they do.  Do you have any suggestions?

Thanks,
David

Here's a series of messages I posted to them:

"Please, do you have any documentation (or asp test files you run) on 
writing Apache ASP pages on your servers. I know, Apache ASP is perl-
script-based, not VBScript. The links from your Webmasters reference 
site on the CPanel aren't helping. 


Here's a little more information. I was following several articles 
written by Joshua Chamas. In his "Apache::Asp Site Building" article 
(http://www.perlmonth.com/perlmonth/issue6/apacheasp.html), which I 
got to searching the webmaster links referenced on the Cpanel, he 
recommends making a dummy.asp page to check that APACHE::ASP is 
working and that the $Session is enabled. My dummy.asp is found at 
www.braindivot.com/dummy.asp. 

This is the totality of the dummy.asp file:

INTRO <%=$Session%>

When viewed, the dummy.asp should show 

INTRO Apache::ASP::Session=HASH(0x??????). 

Now it just shows 

INTRO <%=$Session%>


Here's hostmatix.com's response:

"Dear valued customer, 

We are supporting Apache ASP and not Mircosoft or .NET ASP. Please 
let us know if you are looking for .NET ASP. 

Regards, 

Support Team 
HostMatix.com"



---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org


Re: dummy.asp not working on my host's servers

Posted by Josh Chamas <jo...@chamas.com>.
chrisdavc wrote:
> Josh,
> 
>    Is this configuration issue likely to be handled by the host, or 
> is it something I should do, like the blurb I saw about my .htaccess?
> 

A good start for a *test* config might be:

  <Files ~ (\.asp)>
    SetHandler  perl-script
    PerlModule  Apache::ASP
    PerlHandler Apache::ASP
    PerlSetVar  Global .
    PerlSetVar  StateDir /tmp/asp_yourusername
  </Files>

You would put this in a .htaccess file in the same directory
as your script you want to execute.  If that does not work,
you will have to talk to you hosting provider about getting
.htaccess files activated.

Please see http://www.apache-asp.org/config.html and
http://www.apache-asp.org/install.html#Quick%20Start
on getting going with a configuration.

If running Apache::ASP under mod_perl does not work as normal,
you might try to see if your hosting provider has the asp-perl
script installed for CGI mode ASP.  You can read more on this at:

   http://www.apache-asp.org/cgi.html#Standalone%20Cbddd74cc

Regards,

Josh
________________________________________________________________
Josh Chamas, Founder                   phone:925-552-0128
Chamas Enterprises Inc.                http://www.chamas.com
NodeWorks Link Checking                http://www.nodeworks.com


---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org


Re: dummy.asp not working on my host's servers

Posted by chrisdavc <ch...@yahoo.com>.
Josh,

   Is this configuration issue likely to be handled by the host, or 
is it something I should do, like the blurb I saw about my .htaccess?

Thanks,

David

--- In apache-asp@y..., Josh Chamas <jo...@c...> wrote:
> chrisdavc wrote:
>  >
> > recommends making a dummy.asp page to check that APACHE::ASP is 
> > working and that the $Session is enabled. My dummy.asp is found 
at 
> > www.braindivot.com/dummy.asp. 
> > 
> > This is the totality of the dummy.asp file:
> > 
> > INTRO <%=$Session%>
> > 
> > When viewed, the dummy.asp should show 
> > 
> > INTRO Apache::ASP::Session=HASH(0x??????). 
> > 
> > Now it just shows 
> > 
> > INTRO <%=$Session%>
> > 
> 
> This just means that the ASP script was not executed at all.
> This is probably an Apache configuration issue to get Apache::ASP
> to execute your .asp script.  What you are seeing it just
> the script itself, not the executed script's output.
> 
> Regards,
> 
> Josh
> ________________________________________________________________
> Josh Chamas, Founder                   phone:925-552-0128
> Chamas Enterprises Inc.                http://www.chamas.com
> NodeWorks Link Checking                http://www.nodeworks.com
> 
> 
> --------------------------------------------------------------------
-
> To unsubscribe, e-mail: asp-unsubscribe@p...
> For additional commands, e-mail: asp-help@p...


---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org


Re: dummy.asp not working on my host's servers

Posted by Josh Chamas <jo...@chamas.com>.
chrisdavc wrote:
 >
> recommends making a dummy.asp page to check that APACHE::ASP is 
> working and that the $Session is enabled. My dummy.asp is found at 
> www.braindivot.com/dummy.asp. 
> 
> This is the totality of the dummy.asp file:
> 
> INTRO <%=$Session%>
> 
> When viewed, the dummy.asp should show 
> 
> INTRO Apache::ASP::Session=HASH(0x??????). 
> 
> Now it just shows 
> 
> INTRO <%=$Session%>
> 

This just means that the ASP script was not executed at all.
This is probably an Apache configuration issue to get Apache::ASP
to execute your .asp script.  What you are seeing it just
the script itself, not the executed script's output.

Regards,

Josh
________________________________________________________________
Josh Chamas, Founder                   phone:925-552-0128
Chamas Enterprises Inc.                http://www.chamas.com
NodeWorks Link Checking                http://www.nodeworks.com


---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org