Hi! I've been using this htacess file well for the last year. But now I want to make a subdomain but my (apache/php) server says Internal server error. I talked with desk support and they told me the htaccess is making the issue. They told me to correct it but I dont know how. Can anybody tell me which line must I change? thanks a lot!! RewriteEngine On RewriteRule ^losrecursoshumanos.rss generarss.php RewriteRule ^(.+)/(.+)/ index.php?sec_activa=$1&subsec_activa=$2 RewriteRule ^contenidos/(.*).html$ contenidos/index.php?var1=$1 RewriteRule ^portada/? index.php?sec_activa=20 RewriteRule ^nueva/? index.php?sec_activa=24 RewriteRule ^noticias/? index.php?sec_activa=4 RewriteRule ^articulos/? index.php?sec_activa=21 RewriteRule ^revista-enlaces/? index.php?sec_activa=22 RewriteRule ^agenda/? index.php?sec_activa=23 RewriteRule ^cursos/? index.php?sec_activa=8 RewriteRule ^ayuda/? contenidos/index.php?var1=2074 RewriteRule ^publicidad/? contenidos/index.php?var1=2226 RewriteRule ^aviso-legal/? contenidos/index.php?var1=2073 ErrorDocument 404 /error2/404.html this is the site
Well, I tried this .htaccess locally and it didn't result in a server error. You're going to have to take a look at your apache logs.
Could not spot any error in the htaccess. Perhaps some of the rule is taking it to a non existent folder/file. Try removing each line and testing. I could access the website without problem. Which is the URL that gives the error?
try to get into subdomain this link it has to show the template. And I can't log in the htaccess works fine. But I want to create a subdomani and server people told me, my subdomain won't work because of my .htacces. I have to modify it.