Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Web Hosting Forum


You are currently viewing our Web Hosting Forum as a guest. Please register to participate.
Login



Reply
htaccess and Windows2003 setup problem
Old 07-19-2007, 08:04 PM htaccess and Windows2003 setup problem
Average Talker

Posts: 16
Trades: 0
Hey all

I have been going several tutorials concerning settings a password protected folder for my webserver. None are working I cannot get it to function at all. I have tried several.

Here are my specs: Windows2003, Apache 2.2, Mysql5, PHP5

My Apache directory is sitting in "C:/Apache2.2", but my webfolders is my E: drive. there is a folder in there that I would like to secure with htaccess E:/testdb

If someone has a working setup or has setup a working htaccess, please let me know how you did it.

Like I mentioned, I have tried over and over the htaccess/htpasswd file setups. Even tried another one through the command prompt, about modding the C:/apache/bin/htpasswd.exe file, to no avail. And I modded the httpd file for another setup tutorial to no avail again. I have restarted APache quite a few times to.

One thing I don't understand is how to save these files in ASCII instead of binary as some tutorials say. How do save in ASCII with Win2003?

Any help would be greatly appreciated.



Heeter
__________________

Please login or register to view this content. Registration is FREE

Last edited by Heeter; 07-19-2007 at 08:10 PM..
Heeter is offline
Reply With Quote
View Public Profile Visit Heeter's homepage!
 
 
Register now for full access!
Old 07-22-2007, 02:15 PM Re: htaccess and Windows2003 setup problem
Novice Talker

Posts: 9
Trades: 0
Have you tried setting up

AllowOverride All

in your httpd.conf? Generally, you might not have permissions to execute .htaccess password protection.

As for saving the text in ASCII mode, just use some pure text editor like Notepad and you would be ok.
nh-val is offline
Reply With Quote
View Public Profile
 
Old 07-22-2007, 05:57 PM Re: htaccess and Windows2003 setup problem
charlesgan's Avatar
hosting-rebate.com

Latest Blog Post:
Hostgator Coupons $93
Posts: 279
Location: hosting-rebate.com
Trades: 0
i tried .htaccess setup on windows hosting that have php as well.
not seem to work. Basic php script can run, but not htaccess.. just not sure why.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
charlesgan is offline
Reply With Quote
View Public Profile Visit charlesgan's homepage!
 
Old 07-22-2007, 09:57 PM Re: htaccess and Windows2003 setup problem
Average Talker

Posts: 16
Trades: 0
Yes I have tried that, here is a copy of my httpd section

Code:
<IfModule dir_module>
    DirectoryIndex index.php index.html
</IfModule>

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

AccessFileName .htaccess
<Directory "E:/testdb">
    AllowOverride All
    Options None
    Order deny,allow
</Directory>
I added the AccesFileName section in myself. The rest above this is original httpd.

Still not working though,


Heeter
__________________

Please login or register to view this content. Registration is FREE

Last edited by Heeter; 07-22-2007 at 10:48 PM..
Heeter is offline
Reply With Quote
View Public Profile Visit Heeter's homepage!
 
Reply     « Reply to htaccess and Windows2003 setup problem
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.70617 seconds with 12 queries