ciao a tutti, ho aperto questo post htaccess nonostante ne siano già presenti migliaia per chiedere aiuto riguardo questo codice:
In pratica dovrebbe crearmi automaticamente un sottodominio che punta ad una cartella esistente. Invece ora mi fa uscire un errore 500:Codice PHP:
Options +FollowSymLinks
rewriteEngine on
rewriteBase /
rewriteCond %{HTTP_HOST} !^www\.tecnoman\.altervista\.org [NC]
rewriteCond %{HTTP_HOST} ^(www\.)?([^\.]+)\.altervista\.org
RewriteCond /membri/tecnoman/%1 -d
rewriteRule ^(.*)$ %2/$1 [L]
Come fare per risolvere questo problema?Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, info@altervista.org and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.