Can you look at your web server logs and see what the error is? If it's giving a 500 error, it should be logged.
On Sun, Nov 29, 2009 at 4:52 PM, Jigal sanders <jigalroe...@gmail.com> wrote: > sorry the nrka/pulic is my docroot > i created this project on windows using zend tool > > On Sun, Nov 29, 2009 at 10:50 PM, Bradley Holt <bradley.h...@foundline.com> > wrote: >> >> Those should not all be in your document root -- "public" should >> become your document root (or renamed to match your document root if >> you prefer) and all the other directories (application, library, etc.) >> should all be at the same level as your document root. See: >> >> http://framework.zend.com/manual/en/project-structure.project.html >> >> On Sun, Nov 29, 2009 at 4:43 PM, Jigal sanders <jigalroe...@gmail.com> >> wrote: >> > it doesn't work. >> > i have in my docroot: >> > nrka/ >> > application >> > library >> > public >> > tests >> > >> > >> > On Sun, Nov 29, 2009 at 10:40 PM, Bradley Holt >> > <bradley.h...@foundline.com> >> > wrote: >> >> >> >> OK, that's a step in the right direction then :-) >> >> >> >> Try adding this line right after RewriteEngine On (assuming your ZF >> >> application isn't in a subdirectory of your document root): >> >> >> >> RewriteBase / >> >> >> >> On Sun, Nov 29, 2009 at 4:37 PM, Jigal sanders <jigalroe...@gmail.com> >> >> wrote: >> >> > yes i have restarted. >> >> > now i get a apache 500 >> >> > >> >> > On Sun, Nov 29, 2009 at 10:36 PM, Bradley Holt >> >> > <bradley.h...@foundline.com> >> >> > 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 >> >> >> <jigalroe...@gmail.com> >> >> >> 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 >> >> >> > <bradley.h...@foundline.com> >> >> >> > wrote: >> >> >> >> >> >> >> >> What do your rewrite rules look like? >> >> >> >> >> >> >> >> On Sun, Nov 29, 2009 at 4:29 PM, Jigal sanders >> >> >> >> <jigalroe...@gmail.com> >> >> >> >> wrote: >> >> >> >> > No I have this: >> >> >> >> > >> >> >> >> > <VirtualHost *:80> >> >> >> >> > ServerAdmin jigalroe...@gmail.com >> >> >> >> > >> >> >> >> > 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 >> >> >> >> > <sudhee...@sudheer.net> 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 jigalroe...@gmail.com >> >> >> >> >>> <mailto:jigalroe...@gmail.com> >> >> >> >> >>> >> >> >> >> >>> 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 >> >> >> >> bradley.h...@foundline.com >> >> >> > >> >> >> > >> >> >> > >> >> >> > -- >> >> >> > Met vriendelijke groet, >> >> >> > >> >> >> > Jigal Sanders >> >> >> > A.J. Ernststraat 739 >> >> >> > 1082 LK Amsterdam >> >> >> > Mobiel: 06-42111489 >> >> >> > >> >> >> >> >> >> >> >> >> >> >> >> -- >> >> >> Bradley Holt >> >> >> bradley.h...@foundline.com >> >> > >> >> > >> >> > >> >> > -- >> >> > Met vriendelijke groet, >> >> > >> >> > Jigal Sanders >> >> > A.J. Ernststraat 739 >> >> > 1082 LK Amsterdam >> >> > Mobiel: 06-42111489 >> >> > >> >> >> >> >> >> >> >> -- >> >> Bradley Holt >> >> bradley.h...@foundline.com >> > >> > >> > >> > -- >> > Met vriendelijke groet, >> > >> > Jigal Sanders >> > A.J. Ernststraat 739 >> > 1082 LK Amsterdam >> > Mobiel: 06-42111489 >> > >> >> >> >> -- >> Bradley Holt >> bradley.h...@foundline.com > > > > -- > Met vriendelijke groet, > > Jigal Sanders > A.J. Ernststraat 739 > 1082 LK Amsterdam > Mobiel: 06-42111489 > -- Bradley Holt bradley.h...@foundline.com