I have added the code as below to disable download the file config.ini.
<Files ~ "^\config.ini">
Order allow,deny
Deny from all
# Satisfy All
</Files>
Is this secure enough? Please comment.
Regards,
Ganesan
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ganesan
Kanavathy
Sent: Thursday, January 29, 2004 11:40
To: [EMAIL PROTECTED]
Subject: [LIH]Disable downloading of file
I am running apache and php4 on redhat 8.
Hosting a website and I have a config.ini file in site my web folder.
When type the url http://myurl.com/config.ini it is downloading the
config.ini files.
This is dangerous where I have connection to database coded in there.
How do I disable it from downloading the file? Where do specify the option
to not to download the file.
Please help. Thanks.
Regards,
Ganesan
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help