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