You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Robert Moskowitz <rg...@htt-consult.com> on 2019/05/26 12:59:03 UTC
[users@httpd] URL question
I have a web site accessible by: www.foo.com/bar.html
But users that use: www.foo.com/bar
get a directory content of the files in directory bar.
What do I need to add so that those that use the shortcut of leaving off
.html still get the full web site.
thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] URL question
Posted by Robert Moskowitz <rg...@htt-consult.com>.
Thanks. I should have seen that. Been too long...
On 5/26/19 9:37 AM, Stephen wrote:
> Try changing the filename from bar.html to index.html
>
> Stephen
> www.roissy.ca
>
> On 2019-05-26 8:59 a.m., Robert Moskowitz wrote:
>> I have a web site accessible by: www.foo.com/bar.html
>>
>> But users that use: www.foo.com/bar
>>
>> get a directory content of the files in directory bar.
>>
>> What do I need to add so that those that use the shortcut of leaving
>> off .html still get the full web site.
>>
>> thanks
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] URL question
Posted by Ruben Safir <mr...@panix.com>.
On 5/26/19 9:37 AM, Stephen wrote:
> Try changing the filename from bar.html to index.html
>
> Stephen
> www.roissy.ca
you can actually filter with a regex to bar to bar.html or redictect it
within the apache config file.
you can also turn off directory access.
>
> On 2019-05-26 8:59 a.m., Robert Moskowitz wrote:
>> I have a web site accessible by: www.foo.com/bar.html
>>
>> But users that use: www.foo.com/bar
>>
>> get a directory content of the files in directory bar.
>>
>> What do I need to add so that those that use the shortcut of leaving
>> off .html still get the full web site.
>>
>> thanks
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
--
So many immigrant groups have swept through our town
that Brooklyn, like Atlantis, reaches mythological
proportions in the mind of the world - RI Safir 1998
http://www.mrbrklyn.com
DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
http://www.nylxs.com - Leadership Development in Free Software
http://www2.mrbrklyn.com/resources - Unpublished Archive
http://www.coinhangout.com - coins!
http://www.brooklyn-living.com
Being so tracked is for FARM ANIMALS and extermination camps,
but incompatible with living as a free human being. -RI Safir 2013
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] URL question
Posted by Stephen <st...@roissy.ca>.
Try changing the filename from bar.html to index.html
Stephen
www.roissy.ca
On 2019-05-26 8:59 a.m., Robert Moskowitz wrote:
> I have a web site accessible by: www.foo.com/bar.html
>
> But users that use: www.foo.com/bar
>
> get a directory content of the files in directory bar.
>
> What do I need to add so that those that use the shortcut of leaving
> off .html still get the full web site.
>
> thanks
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org