Is it the problem with mod_rewrite?

Discussion in 'Install/Configuration' started by priceline, May 25, 2009.

  1. priceline

    priceline New Member

    I have not pointed my domain to this new site yet, so I am accessing it via:
    http://216.38.53.212/~fortune1/

    This page is working fine with apache, but not with litespeed standard edition.

    Internal pages are working fine, for ex:
    http://216.38.53.212/~fortune1/social-initiatives/peace-initiatives

    Only home page is not working, I am not even sure whether my virtual host server is setup correctly or not. But I have the following in the rewrite rules:
    RewriteBase "/~fortune1/"

    Another possibility is that css and js files are not loading in the home page for some reason.

    your help is greatly appreciated. Pls point me to the right direction. Thanks,


    Edit: I checked the log file, seems like it is looking for css, js and images in the wrong location, for ex:
    not found [/usr/local/apache/htdocs/modules/date/date_popup/themes/timeentry.css]

    Not sure how to correct this.
    Last edited: May 25, 2009
  2. auser

    auser Super Moderator

    how about remove

    RewriteBase "/~fortune1/"

    ?
  3. priceline

    priceline New Member

    I totally removed that virtual host, it is still behaving the same.
  4. auser

    auser Super Moderator

    Last edited: May 25, 2009
  5. priceline

    priceline New Member

    here it is:

    here it is:
  6. auser

    auser Super Moderator

    A suggestion of quick workaround:

    set the virtual document root to /~fortune1

    comment
    RewriteBase /~fortune1
    in above .htaccess.

    to see if drupal up or not after the change.

    the test url should be http://216.38.53.212/
  7. priceline

    priceline New Member

    where to set this? virtual host?
  8. auser

    auser Super Moderator

    yes, virtual host.

    Am not familiar with WHM/cPanel env, so just FYI:

    edit /usr/local/apache/conf/httpd.conf

    modify or add a VirtualHost
    define its DocumentRoot to .../~fortune1

Share This Page