Ver Mensaje Individual
  #1 (permalink)  
Antiguo 17/02/2014, 07:07
Alanfederico
 
Fecha de Ingreso: enero-2011
Ubicación: Ya dije
Mensajes: 43
Antigüedad: 13 años, 2 meses
Puntos: 0
Pregunta .htaccess no me deja entrar a una carpeta

tengo esto. y quiero que me deje entrar a la galeria de fotos /fotos y le hice tambien un subdominio fotos.midomio.com pero este .htaccess, es obligatorio ya que es funcional para la web en synfony 1.4. como resuelvo que puedan acceder solo a esa carpeta y excluya este codigo?

Código:
Options +FollowSymLinks +ExecCGI

<IfModule mod_rewrite.c>
  RewriteEngine On

  # uncomment the following line, if you are having trouble
  # getting no_script_name to work
  #RewriteBase /

  # we skip all files with .something
  #RewriteCond %{REQUEST_URI} \..+$
  #RewriteCond %{REQUEST_URI} !\.html$
  #RewriteRule .* - [L]

  # we check if the .html version is here (caching)
  RewriteRule ^$ index.html [QSA]
  RewriteRule ^([^.]+)$ $1.html [QSA]
  RewriteCond %{REQUEST_FILENAME} !-f

  # no, so we redirect to our front web controller
  RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>