Ver Mensaje Individual
  #1 (permalink)  
Antiguo 17/11/2015, 09:31
Avatar de luzzifer
luzzifer
 
Fecha de Ingreso: julio-2009
Ubicación: Paraná - Argentina
Mensajes: 169
Antigüedad: 14 años, 10 meses
Puntos: 3
Pregunta RewriteCond en .htaccess

Hola, necesito ayuda como utilizaria RewriteCond en .htaccess

El problema tengo con una aplicación llamada J!whmcs integrator me tira el siguiente error 403 received with URL y en el soporte me dicen lo siguiente
Cita:
Their WHMCS was setup as a subfolder within their site (so Joomla was in the root, then WHMCS in a subfolder). They had enabled the Joomla .htaccess file, and at the end of the file there was a call to force all requests that have not yet been routed by the .htaccess file to receive a 403 response. When disabling the .htaccess file, the API connected right up. To fix in this particular case, I added a RewriteCond to exclude requests to the subfolder and it worked from there on.
Traducido en google
Cita:
Su WHMCS fue instalado como una subcarpeta dentro de su sitio (para Joomla estaba en la raíz, entonces WHMCS en una subcarpeta). Habían permitido el archivo .htaccess Joomla, y al final del archivo no era una llamada para obligar a todas las solicitudes que aún no han sido derrotados por el archivo .htaccess para recibir una respuesta 403. Al desactivar el archivo .htaccess, el API conectado enseguida. Para solucionar en este caso particular, he añadido un RewriteCond excluir las solicitudes a la subcarpeta y funcionó a partir de ahí.
Los detalles: Tengo instalado joomla en la carpeta /public_html/ y whmcs dentro de ella osea quedaría asi /public_html/whmcs/ y creo que eso me esta dando el error al sincronizar el componente. Por eso recibí esa respuesta del soporte técnico.

La duda que tengo: ¿Es como haria esto que me pide así no anulo el .htaccess ?
Cita:
I added a RewriteCond to exclude requests to the subfolder and it worked from there on