You are viewing a plain text version of this content. The canonical link for it is here.
Posted to asp@perl.apache.org by Ismael Touama <is...@install.fr> on 2002/05/30 18:33:13 UTC
RE: even with quick start...it's HEAVEN !! but...
Ok !
I succed to make workin demo_global_asa.asp
It's in fact Apache::SSI module that don't work...
So ready for a next topic ?
I search!
bbsc!
ism
-----Message d'origine-----
De : Ismael Touama [mailto:ismael.touama@install.fr]
Envoye : jeudi 30 mai 2002 17:32
A : asp@perl.apache.org
Objet : RE: even with quick start...it's not heaven
Ok I think it's about Apache::Filter *MODULE* !!
I put it now:
PerlHAndler Apache::Registry Apache::SSI Apache:: Apache::ASP
but really don't see what to set instead of blah.
Hmm' but still really blocked.
bbsc
ism
-----Message d'origine-----
De : Ismael Touama [mailto:ismael.touama@install.fr]
Envoye : jeudi 30 mai 2002 16:06
A : Joshua Chamas
Cc : asp@perl.apache.org
Objet : RE: even with quick start...it's not heaven
Hi,
i've still done it and in fact cp-ing manually the
.htaccess & .bhtacces files in my root directory.
However I re-issue the operation.
But what I do with it... ?
<Files ~ (\.asp)>
SetHandler perl-script
PerlModule Apache::ASP
PerlHandler Apache::ASP
PerlSetVar Global .
PerlSetVar StateDir /tmp/asp
</Files>
What's the /tmp/asp directory ?
I don't have such one and don't understand its utility.
So I try different config, the default doesn't work
(hmm' I don't have let it work ;op)
thx,
bbsc,
ism
PS: And what about the <Files ~"*\.blah"> Apache::SSI directive ?
I wonder if my problem occurs with the Apache::SSI API (is that really
an API or a module ?) . To me 'blah' is a foo thing ! Isn't it ?
So if problem with Apache::SSI, it's maybe Apache::Filter too ?
Lot of question isn't it ?
-----Message d'origine-----
De : Joshua Chamas [mailto:joshua@chamas.com]
Envoye : mercredi 29 mai 2002 21:58
A : Ismael Touama
Cc : asp@perl.apache.org
Objet : Re: even with quick start...it's not heaven
Ismael Touama wrote:
>
> hi,
> ...
>
> I put this in my httpd.conf:
> # OK for security problem
> <Directory / >
> Options FollowSymLinks
> AllowOverride All
> </Directory>
Try: ( from http://www.apache-asp.org/install.html#Quick%20Start )
<Directory $DOCUMENT_ROOT/asp/eg >
Options FollowSymLinks
AllowOverride All
</Directory>
To copy the entire site, including the examples, you might
do a raw directory copy as in:
shell> cp -rpd ./site $DOCUMENT_ROOT/asp
----------------
$DOCUMENT_ROOT is probably /usr/local/apache/htdoc/ but might
be something else
----------------
Do this exactly, not <Directory / > because there might
be another AllowOverride None in your config somewhere else.
Also, do the cp -rpd of the entire directory so you are
sure to pick up the .htaccess in .site/eg/
Once you get the examples working, you can start building
your own configs in httpd.conf, but try to get the examples
working first.
--Josh
_________________________________________________________________
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com 1-714-625-4051
---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org
Re: "virtual urls"
Posted by Brat Wizard <br...@naxs.com>.
It can be done with mod_rewrite. Go to apache.org and read through the
mod_rewrite docs.
Regards.
John Whitten
brat@naxs.com
Wizard.Org, Inc.
On Saturday 01 June 2002 04:02 am, Ellers spewed into the ether:
> Hi All
>
> This is only partly an ASP question, but any help appreciated:
>
> If I have a page like this:
>
> http://any.com/lookup/index.asp
>
> I'd can easily request it like this:
>
> http://any.com/lookup/index.asp?event=1234
>
> But I'd really like to be able to request it like this:
>
> http://any.com/lookup/event/1234
>
> I've seen what I call "virtual urls" like this here and there, eg amazon,
> and even got it going a couple years ago with perl/CGI.
>
> However, using Apache-ASP the last URL above just returns 404 not found,
> which sortof makes sense.
>
> Is there a directive to tell Apache to look backwards (or whatever) in the
> URL and resolve to use lookup/index.asp?
>
> I'm sure it can be done somehow, but I'm not sure... maybe a special
> <directory> directive?
>
> Any tips appreciated!
>
> Ellers
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
> For additional commands, e-mail: asp-help@perl.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org
RE: "virtual urls"
Posted by Ellers <el...@iinet.net.au>.
Many thanks to those who replied.
I went with the <location> strategy using a file called 'lookup' and
using $ServerVariables( 'PATH_INFO' ) - works beautifully after
getting a few extra ASP settings into the httpd.conf
Thanks again!
Ellers
At 11:25 AM -0700 1/6/02, Jim Helm wrote:
>How about just making /lookup the page, instead of /lookup/index.asp.
>You'll have to make sure /lookup is executed as an asp page ( <Location
>/lookup> ... </Location> ), but once you have that, you can just get the
>rest from the pathinfo piece of the uri.
>
>Or you could just rename /lookup/index.asp to /lookup.asp and call it
>via /lookup.asp/event/1234. Slightly less "pretty" but functionally the
>same, and it saves having to create a Location directive in your config
>file.
>
>Jim
>
>
>> -----Original Message-----
>> From: Ellers [mailto:ellers@iinet.net.au]
>> Sent: Saturday, June 01, 2002 1:02 AM
>> To: asp@perl.apache.org
>> Subject: "virtual urls"
>>
>>
>> Hi All
>>
>> This is only partly an ASP question, but any help appreciated:
>>
>> If I have a page like this:
>>
>> http://any.com/lookup/index.asp
>>
>> I'd can easily request it like this:
>>
> http://any.com/lookup/index.asp?event=1234
>
>But I'd really like to be able to request it like this:
>
> http://any.com/lookup/event/1234
---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org
RE: "virtual urls"
Posted by Jim Helm <jj...@att.net>.
How about just making /lookup the page, instead of /lookup/index.asp.
You'll have to make sure /lookup is executed as an asp page ( <Location
/lookup> ... </Location> ), but once you have that, you can just get the
rest from the pathinfo piece of the uri.
Or you could just rename /lookup/index.asp to /lookup.asp and call it
via /lookup.asp/event/1234. Slightly less "pretty" but functionally the
same, and it saves having to create a Location directive in your config
file.
Jim
> -----Original Message-----
> From: Ellers [mailto:ellers@iinet.net.au]
> Sent: Saturday, June 01, 2002 1:02 AM
> To: asp@perl.apache.org
> Subject: "virtual urls"
>
>
> Hi All
>
> This is only partly an ASP question, but any help appreciated:
>
> If I have a page like this:
>
> http://any.com/lookup/index.asp
>
> I'd can easily request it like this:
>
http://any.com/lookup/index.asp?event=1234
But I'd really like to be able to request it like this:
http://any.com/lookup/event/1234
I've seen what I call "virtual urls" like this here and there, eg
amazon, and even got it going a couple years ago with perl/CGI.
However, using Apache-ASP the last URL above just returns 404 not found,
which sortof makes sense.
Is there a directive to tell Apache to look backwards (or whatever) in
the URL and resolve to use lookup/index.asp?
I'm sure it can be done somehow, but I'm not sure... maybe a special
<directory> directive?
Any tips appreciated!
Ellers
---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org
"virtual urls"
Posted by Ellers <el...@iinet.net.au>.
Hi All
This is only partly an ASP question, but any help appreciated:
If I have a page like this:
http://any.com/lookup/index.asp
I'd can easily request it like this:
http://any.com/lookup/index.asp?event=1234
But I'd really like to be able to request it like this:
http://any.com/lookup/event/1234
I've seen what I call "virtual urls" like this here and there, eg amazon, and even got it going a couple years ago with perl/CGI.
However, using Apache-ASP the last URL above just returns 404 not found, which sortof makes sense.
Is there a directive to tell Apache to look backwards (or whatever) in the URL and resolve to use lookup/index.asp?
I'm sure it can be done somehow, but I'm not sure... maybe a special <directory> directive?
Any tips appreciated!
Ellers
---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org
Re: even with quick start...it's HEAVEN !! but...
Posted by Joshua Chamas <jo...@chamas.com>.
Ismael Touama wrote:
>
> Ok !
> I succed to make workin demo_global_asa.asp
> It's in fact Apache::SSI module that don't work...
> So ready for a next topic ?
> I search!
>
Congrats on getting the example to work. Apache::SSI
is optional functionality, so don't worry about getting it
to work unless you need it. If you want to continue, use
the SSI config example in site/eg/.htaccess.
--Josh
_________________________________________________________________
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com 1-714-625-4051
---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org
this is not SPAM !
Posted by Ismael Touama <is...@install.fr>.
OK I forgot with the frenetic joy to achieve a near (not-full time :) month
of work !!
=>THANK for ALL THE HELPS
bbsc
ism
-----Message d'origine-----
De : Ismael Touama [mailto:ismael.touama@install.fr]
Envoye : jeudi 30 mai 2002 18:33
A : asp@perl.apache.org
Objet : RE: even with quick start...it's HEAVEN !! but...
Ok !
I succed to make workin demo_global_asa.asp
It's in fact Apache::SSI module that don't work...
So ready for a next topic ?
I search!
bbsc!
ism
---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org