httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ruben Safir <mrbrk...@panix.com>
Subject Re: [users@httpd] URL question
Date Sun, 26 May 2019 16:11:10 GMT
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


Mime
View raw message