Geez !! It happened on my production farm as well!!!! I'm really stuck here.. any help would be GREATLY appreciated !
On Aug 24, 11:12 am, MartinB <[email protected]> wrote: > yeah, I do have that. Web application there already has its > own .htaccess file with rewrite rules. > > Options +FollowSymLinks +ExecCGI > > <IfModule mod_rewrite.c> > RewriteEngine On > > # uncomment the following line, if you are having trouble > # getting no_script_name to work > #RewriteBase / > > # we skip all files with .something > #RewriteCond %{REQUEST_URI} \..+$ > #RewriteCond %{REQUEST_URI} !\.html$ > #RewriteRule .* - [L] > > # we check if the .html version is here (caching) > RewriteRule ^$ index.html [QSA] > RewriteRule ^([^.]+)$ $1.html [QSA] > RewriteCond %{REQUEST_FILENAME} !-f > > # no, so we redirect to our front web controller > RewriteRule ^(.*)$ index.php [QSA,L] > </IfModule> > > On Aug 24, 11:05 am, Frédéric Sidler <[email protected]> > wrote: > > > Sorry, this was not the only thing you need to do ;-) > > You need to activate the mode rewrite. I think you can do it at Apache > > level. I did at .htaccess level for my application because not all my > > application need it. > > > See here for info and check for the > > RewriteEngine On > > in the .htacess file > > > Hope this is what you were expecting > > > 2009/8/24 Frédéric Sidler <[email protected]> > > > > This was all I did and my application is working. > > > I don't know where to look at after that to identify the problem. Anybody > > > else? > > > > On Mon, Aug 24, 2009 at 4:54 PM, MartinB <[email protected]> wrote: > > > >> Hi Fred, > > > >> Actually, I was unaware of the a2enmod, so I created the symlink my > > >> self and reloaded apache. > > >> But when I tried to run a2enmod rewrite, it said it was already loaded > > >> and when I did apache2ctl -M, I DO SEE the line rewrite_module > > >> (shared). > > > >> I really don't understand what can cause it not to work. > > > >> On Aug 24, 9:43 am, Frédéric Sidler <[email protected]> wrote: > > >> > Did you run > > >> > /etc/init.d/apache2 force-reload > > > >> > after > > >> > a2enmod rewrite > > > >> > If yes what does > > >> > apache2ctl -M > > >> > tell you > > > >> > Is there a line with > > >> > rewrite_module (shared) > > >> > present > > > >> > On Mon, Aug 24, 2009 at 2:56 PM, MartinB <[email protected]> wrote: > > > >> > > Any idea anyone? > > > >> > > On Aug 22, 9:26 am, MartinB <[email protected]> wrote: > > >> > > > Hi! > > > >> > > > I setup a staging farm for our app and it seems the mod-rewrite > > >> isn't > > >> > > > working. I enabled it in /etc/apache2/mods-enabled, I compared the > > >> > > > apache2.conf and phpinfo() of both my production/staging farm and > > >> are > > >> > > > identical. > > > >> > > >http://www.staging.clickcontact.com/clickanylink to see the actual > > >> > > > error :( > > > >> > > > Any help would be greatly appreciated. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "scalr-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/scalr-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
