Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

How can this be changed for windows install?

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Stupid questions for ya.  
Author Message
GamePlayer No. 1058

External


Since: Oct 05, 2005
Posts: 5



(Msg. 1) Posted: Wed Oct 05, 2005 4:55 pm
Post subject: How can this be changed for windows install?
Archived from groups: alt>apache>configuration (more info?)

AccessFileName .htaccess

#
# The following lines prevent .htaccess and .htpasswd files from being
# viewed by Web clients.
#
<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>

I've tried making .htaccess.t files but windows says no way, make a cooorect
folder name.

Coule I just change the .ht to htaccess.tthen cange the <Files ~ "^\.t">

Thanks,

 >> Stay informed about: How can this be changed for windows install? 
Back to top
Login to vote
hans1

External


Since: Mar 29, 2004
Posts: 672



(Msg. 2) Posted: Wed Oct 05, 2005 8:55 pm
Post subject: Re: How can this be changed for windows install? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"GamePlayer No. 1058" <NOSPAMREADER.RemoveThis@YAHOO.COM> schreef in bericht
news:kXU0f.527$Ao4.78@tornado.socal.rr.com...
> # The following lines prevent .htaccess and .htpasswd files from being
> # viewed by Web clients.
> #
> <Files ~ "^\.ht">
> Order allow,deny
> Deny from all
> </Files>
>
> I've tried making .htaccess.t files but windows says no way,
> make a cooorect folder name.
First .htacces _must_ be a file not a folder.
The issue is Windows' Explorer takes a file name starting with a dot as
nameless.
To create the file open a DOSsie command window and run 'echo 123
>c:\.htaccess' once. The very same explorer is willing to move or copy this
file anywhere... Edit this copy to suite your needs.

> Could I just change the .ht to htaccess.t then cange the <Files ~ "^\.t">
That will make Apache hide any file starting .t ...
Don't change this line untill you understand regular expressons, the
workaround given above will do fine for now.

On Linux filenames starting a dot are hidden from most file list, just like
on DOS a file with the hidden attribute set is not listed.

In general it is a good idea to stick with the default names of files and
folders to evantually ease the upload to a public site on a machine provided
by a hosting provider.


HansH

 >> Stay informed about: How can this be changed for windows install? 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Windows XP Install - I want to install Apache on my XP system simply as a vehicle to do some local PHP development. I do NOT intend for Apache to serve anyone other than my LOCAL machine. I connect to the internet via a cable connection and my network connection information...

Unattended Tomcat 5 install on Windows - Hi, Can anybody point me to any resources or better yet tell me how to go about doing an unattended install of Tomcat 5 on Windows (Server 2003, but any windows would do)? TIA Aza

apache not starting properly after fresh windows install - I have a very weird problem that I have never encountered before. I was installing apache on my labtop which has windows 98 on it and after it installed apache usally theres a tray icon in the ... tray and there was execpt there was no server running..

Has Alias changed recently ? - I just upgraded the software on my debian server box. The last upgrade was between 6 months and a year ago. For some reason or other, I get 'permission denied' errors on pages that used to work just fine before the upgrade. The funny thing is that..

CGI scripts: What has changed between Apache A.3 and Apach.. - Hi, I have a few CGI scripts that worked fine under mandrake 8.1 and apache 1.3.?, but having UPGRADED (ie not a new installation) to Mandrake 9.1 and Apache 2.0, I keep on getting a 'file not found' error whwn I run the scripts - in..
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]