This forum is no longer active. Please post your questions to our new community site

i can't find ".htaccess" in win 7 ??!!

Subscribe to i can't find ".htaccess" in win 7 ??!! 8 post(s), 2 voice(s)

Avatar ahmad.ramadan 12 post(s)

i can’t find ”.htaccess” in win 7 ??!!

it’s build 7057 .
and i won’t use linux , because i’m using e-texteditor , till getting a mac to use texemate .
so , please don’t just say , use UBUNTU , because we use it ….


Avatar Beltrán Rueda Administrator 3,714 post(s)


There is no .htaccess files by default but you can configure Apache to use them. The Apache configuration file is <installdir>apache/conf/httpd.conf and the application configuration files are in <installdir>/apps/<application>/conf folder.

I hope it helps.

Avatar ahmad.ramadan 12 post(s)

ok , thanks for response , but, unfortunately it’s still inactive after configuring apache !!
what i did are :

- in httpd.config :

  1. AllowOverride controls what directives may be placed in .htaccess files.
  2. It can be “All”, “None”, or any combination of the keywords:
  3. Options FileInfo AuthConfig Limit # AllowOverride All
  1. Controls who can get stuff from this server. # Order allow,deny Allow from all

----- and:

  1. The following lines prevent .htaccess and .htpasswd files from being
  2. viewed by Web clients. #
    <filesmatch> Order allow,deny allow from all Satisfy All

and restart Mongrel and go the default app “rubystack” > public > ...?? then there’s no ”.htaccess”

i don’t know what’s wrong ?? should i creat a new app ??

while using WAMP , .htacces was there by default …

please give me details as possible , thanks again .

Avatar Beltrán Rueda Administrator 3,714 post(s)


Maybe it is due to Apache + Ruby On Rails configuration. Apache is configured as a proxy server between Mongrel servers. So Apache manages the requests send to the Mongrel servers. Maybe the .htaccess file should not be in the “rubystack > public” folder because this folder is only visible for Mongrel server, not Apache. I think that you should modify the proxy configuration to use an .htaccess file.


Avatar ahmad.ramadan 12 post(s)

i couldn’t get how to modify the proxy configuration ….. well you mean in , httpd.confg ??
i wonder how did you ( the team )make the stack for windows and you said ” maybe ” ??!

please , if any one of you could tell where is the “proxy configurations” and what to modify ?
and where i’ll find ” .htaccess” after all

.... and if i’m using linux or OS X i think i’ll go to “Phusion Passenger” and just stick with apache with any Monrgel …. but there is no textmate alike for linux and still don’t have a Mac …..

so why it seems that you don’t really care with windows users …. , my case not depend on any way of installation or another version of apache !!! , it’s a static case ….. !!!

Avatar Beltrán Rueda Administrator 3,714 post(s)

Sorry Ahmad if you think that we do not care windows users. I try to replay to all BitNami users and we will take care all BitNami Stacks. We have tested on XP and Vista (but not on win 7 yet, but it should run well) I have never replied “do not use Windows, you should use linux” in this forum.

BitNami RubyStack has the same configuration for Linux, OS X and Windows, using Apache as a proxy server to get a better performance. This configuration is commonly used by the Ruby On Rails community to scale applications. Currently the Stack does not use “Phusion Passenger” or “mod_rails” for any platform.

You can find more information about this configuration at:

Maybe this post is helpful for you:

i wonder how did you ( the team )make the stack for windows and you said ” maybe ” ??!

I have contributed to the Stack development but I said “maybe” because I have not tried the .htaccess configuration that you are trying, so I’m not sure how modify the Apache configuration to do that.


Avatar ahmad.ramadan 12 post(s)

thank you “beltran” , and you didn’t say the linux thing , but check this you’ll know :

this was the mean of his words , and it’s not a big problem .

and i don’t know who will answer here from the administrators .

so , i thank you , and excuse if i was aggressive.

Avatar Beltrán Rueda Administrator 3,714 post(s)

No problem Ahmad :)