luislack 0 Denunciar post Postado Julho 4, 2010 Ola o Drupal esta instalado no Debian em /var/www/site criei o .htacces assim <IfModule mod_rewrite.c> RewriteEngine on RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?q=$1 [L,QSA] </IfModule> o /etc/apache2/sites-available/default NameVirtualHost *:8088 <VirtualHost *:8088> ServerAdmin webmaster@localhost DocumentRoot /var/www/ <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory /var/www/> Options Indexes FollowSymLinks MultiViews <strong>AllowOverride All</strong> Order allow,deny allow from all # This directive allows us to have apache2's default start page # in /apache2-default/, but still have / go to the right place RedirectMatch ^/$ /site/ </Directory> mais nao habilita no adm no drupal a opcão Compartilhar este post Link para o post Compartilhar em outros sites
luislack 0 Denunciar post Postado Julho 5, 2010 Ola o Drupal esta instalado no Debian em /var/www/site criei o .htacces assim <IfModule mod_rewrite.c> RewriteEngine on RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?q=$1 [L,QSA] </IfModule> o /etc/apache2/sites-available/default NameVirtualHost *:8088 <VirtualHost *:8088> ServerAdmin webmaster@localhost DocumentRoot /var/www/ <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory /var/www/> Options Indexes FollowSymLinks MultiViews <strong>AllowOverride All</strong> Order allow,deny allow from all # This directive allows us to have apache2's default start page # in /apache2-default/, but still have / go to the right place RedirectMatch ^/$ /site/ </Directory> mais nao habilita no adm no drupal a opcão Eu já descobri o erro "Resolvido" criei o .htacces assim <IfModule mod_rewrite.c> RewriteEngine on RewriteBase /site #é so colocar o nome do site depois da barra aqui. RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?q=$1 [L,QSA] </IfModule> Compartilhar este post Link para o post Compartilhar em outros sites