Hi,
Laeffe,
Thanks for help yes I too tried something similar and made some
progress but there is still a problem with my CSS and JS file
loading..
Now when I go to any one of the inner pages.. the CSS and JS files
link is wrong..
example if you go to
http://72.167.47.152/~hoteljob/users/login

and do a view source on the rendered page you'll see a "/" prefixing
the links for the css and js like  it shows

href="/~hoteljob/css/layout_styles.css"   or  src="/~hoteljob/js/
prototype.js">

In my layout files I'm calling them the regular way like  <?php echo
$javascript->link('prototype');?> and <?php echo $html-
>css('layout_styles', 'stylesheet', array("media"=>"screen" ));?>

Any ideas what would be wrong.

My Current .htaccess files are

---------/root/.htaccess----------------------
 <IfModule mod_rewrite.c>
   RewriteEngine on
        Options +FollowSymLinks
   RewriteBase /~hoteljob/
   RewriteRule    ^~$ app/webroot/    [L]
   RewriteRule    (.*) app/webroot/$1 [L]
</IfModule>
--------------------------------------

-------------------------/root/app/webroot/--------------------------

<IfModule mod_rewrite.c>
        RewriteEngine On
        RewriteBase /~hoteljob/app/webroot/
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]

</IfModule>

------------------------------------------------------------------------

Thanks


On Nov 17, 3:14 pm, laeffe <[EMAIL PROTECTED]> wrote:
> Hi, I hade big problems trying to use mod_rewrite with apache in my
> home dir when i tried to setup cake. But i solved it by adding
> RewriteBase to more or less all of the .htaccess files. Did somthing
> like this:
> (in all .htaccess)
>    RewriteBase /~username/the/folder/that/this-file-is/in/
>
> If you add that to the .htaccess files in your folder, then i think it
> will work.
> (these files are in you root, /app/ and /app/webroot/ )
>
> Good luck //Laeffe
>
> On Nov 16, 1:31 pm, Indian Baker <[EMAIL PROTECTED]> wrote:
>
> > Oh I thought.. I'd mention its a GoDaddy server, but its a dedicated/
> > Virtual Dedicated Server
> >  and I know there have been issues with others on their Godaddy Co-
> > hosted servers,

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to