yes i have restarted. now i get a apache 500 On Sun, Nov 29, 2009 at 10:36 PM, Bradley Holt <[email protected]>wrote:
> Have you restarted Apache since changing your virtual host > configuration? Are you still getting a 404 or a different error now? > > On Sun, Nov 29, 2009 at 4:34 PM, Jigal sanders <[email protected]> > wrote: > > this is what i have in my .htaccess file on the public directory > > > > SetEnv APPLICATION_ENV development > > > > RewriteEngine On > > RewriteCond %{REQUEST_FILENAME} -s [OR] > > RewriteCond %{REQUEST_FILENAME} -l [OR] > > RewriteCond %{REQUEST_FILENAME} -d > > RewriteRule ^.*$ - [NC,L] > > RewriteRule ^.*$ index.php [NC,L] > > > > On Sun, Nov 29, 2009 at 10:32 PM, Bradley Holt < > [email protected]> > > wrote: > >> > >> What do your rewrite rules look like? > >> > >> On Sun, Nov 29, 2009 at 4:29 PM, Jigal sanders <[email protected]> > >> wrote: > >> > No I have this: > >> > > >> > <VirtualHost *:80> > >> > ServerAdmin [email protected] > >> > > >> > DocumentRoot /var/www/nrka/public/ > >> > ServerName nrka > >> > <Directory /var/www/nrka/public/> > >> > Options Indexes FollowSymLinks MultiViews > >> > AllowOverride All > >> > Order allow,deny > >> > allow from all > >> > </Directory> > >> > ##ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ > >> > ##<Directory "/usr/lib/cgi-bin"> > >> > ## AllowOverride None > >> > ## Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch > >> > ## Order allow,deny > >> > ## Allow from all > >> > ##</Directory> > >> > > >> > ErrorLog /var/log/apache2/error.log > >> > > >> > # Possible values include: debug, info, notice, warn, error, crit, > >> > # alert, emerg. > >> > LogLevel warn > >> > > >> > CustomLog /var/log/apache2/access.log combined > >> > > >> > Alias /doc/ "/usr/share/doc/" > >> > <Directory "/usr/share/doc/"> > >> > Options Indexes MultiViews FollowSymLinks > >> > AllowOverride All > >> > Order deny,allow > >> > Deny from all > >> > Allow from 127.0.0.0/255.0.0.0 ::1/128 > >> > </Directory> > >> > > >> > </VirtualHost> > >> > > >> > but it still doesn't work. I have the idea that there is too much in > >> > this > >> > file. > >> > > >> > On Sun, Nov 29, 2009 at 10:25 PM, Sudheer Satyanarayana > >> > <[email protected]> wrote: > >> >> > >> >> On Monday 30 November 2009 02:40 AM, Jigal sanders wrote: > >> >>> > >> >>> Well, > >> >>> > >> >>> my first problem is that it gets to my webroot but when I click on a > >> >>> link, it doesn't follow my controller and action. I rather get an > >> >>> error: > >> >>> > >> >>> The requested URL /authentication/login was not found on this > server. > >> >>> > >> >>> the whole structure is exactly coppied to my project on ubuntu. > >> >>> > >> >>> can it be something in my vhost config? > >> >>> > >> >>> <VirtualHost *:80> > >> >>> ServerAdmin [email protected] <mailto:[email protected]> > >> >>> > >> >>> DocumentRoot /var/www/nrka/public/ > >> >>> ServerName nrka > >> >>> <Directory /var/www/nrka/public/> > >> >>> Options Indexes FollowSymLinks MultiViews > >> >>> AllowOverride None > >> >> > >> >> AllowOverride All. > >> >>> > >> >>> Order allow,deny > >> >>> allow from all > >> >>> </Directory> > >> >>> ##ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ > >> >>> ##<Directory "/usr/lib/cgi-bin"> > >> >>> ## AllowOverride None > >> >>> ## Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch > >> >>> ## Order allow,deny > >> >>> ## Allow from all > >> >>> ##</Directory> > >> >>> > >> >>> ErrorLog /var/log/apache2/error.log > >> >>> > >> >>> # Possible values include: debug, info, notice, warn, error, > crit, > >> >>> # alert, emerg. > >> >>> LogLevel warn > >> >>> > >> >>> CustomLog /var/log/apache2/access.log combined > >> >>> > >> >>> Alias /doc/ "/usr/share/doc/" > >> >>> <Directory "/usr/share/doc/"> > >> >>> Options Indexes MultiViews FollowSymLinks > >> >>> AllowOverride None > >> >> > >> >> AllowOverride All. > >> >> > >> >> You have to allow the .htaccess files to override settings. Or just > put > >> >> up > >> >> the rewrite rules in the <Virtualhost> section of Apache > configuration. > >> >> > >> >> -- > >> >> > >> >> With warm regards, > >> >> Sudheer. S > >> >> Tech stuff: http://techchorus.net > >> >> Business: http://binaryvibes.co.in > >> >> > >> > > >> > > >> > > >> > -- > >> > Met vriendelijke groet, > >> > > >> > Jigal Sanders > >> > A.J. Ernststraat 739 > >> > 1082 LK Amsterdam > >> > Mobiel: 06-42111489 > >> > > >> > >> > >> > >> -- > >> Bradley Holt > >> [email protected] > > > > > > > > -- > > Met vriendelijke groet, > > > > Jigal Sanders > > A.J. Ernststraat 739 > > 1082 LK Amsterdam > > Mobiel: 06-42111489 > > > > > > -- > Bradley Holt > [email protected] > -- Met vriendelijke groet, Jigal Sanders A.J. Ernststraat 739 1082 LK Amsterdam Mobiel: 06-42111489
