httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Darryl Cook <...@cs.appstate.edu>
Subject Re: [users@httpd] Help with Rewrite rule
Date Wed, 04 Sep 2002 14:45:54 GMT
I didnt do a good job with description:   There is only one resource.  I want to be able to
put in www.hostname/resource in the URL of the browser.   Now in the httpd.conf I want a
definition that says   resource = /usr/local/etc/httpd/htdocs/user/xxx/resource.html    Every
user will pull up the same resource.  I just need to tell apache where that resource is.

hope this makes sense :-)

thanks
darryl

Boyle Owen wrote:

> I don't understand: how are you supposed to distinguish between userA and userB? i.e.
www.hostname/filename is a unique identifier - how can it fan out to more than one resource?
>
> Rgds,
>
> Owen Boyle
>
> >-----Original Message-----
> >From: Darryl Cook [mailto:dlc@cs.appstate.edu]
> >Sent: Mittwoch, 4. September 2002 15:08
> >To: Apache
> >Subject: [users@httpd] Help with Rewrite rule
> >
> >
> >I need someones expertise on the following, should be fairly easy for
> >most of you.
> >
> >A faculty member wants students to be able to enter:
> >
> >www.hostname/filename    and have the browser go to a
> >particular file in
> >his webpage area.   It looks like I could do a rewrite in the
> >httpd.conf
> >file but Im not exactly sure how to accomplish that.
> >
> >ex:  User enters www.hostname/xxx and the file in htdocs/user/xxx.html
> >is displayed.
> >
> >Any help appreciated,
> >
> >Darryl
> >
> >
> >---------------------------------------------------------------------
> >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
> >
> >
>
> ---------------------------------------------------------------------
> 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


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


Mime
View raw message