Announcement Announcement Module
Collapse

myhosting.com Forum Guidelines

Welcome to the myhosting.com Forums! The purpose of this forum is to allow you to discuss topics relating to hosting and topics of interest with other myhosting.com Customers. The primary focus should relate to issues not generally included in our Wiki or Control Panel, or information not provided by our Customer Support Team. Some examples include programming and coding support, web site design ideas and SEO practices.

The forum is not meant as a replacement to our Wiki or Customer Support. We highly recommend searching our Wiki before posting on the forum. Also, if you have a question for our Customer Support team, please contact them as you would normally.

We ask that if you have any complaints or questions relating specifically to your account, that you address them to our Customer Support department. Do not post personal account information such as passwords or other sensitive and private information the forum, as this type of information is best kept secret. Also, please be respectful of other users and refrain from defamatory comments or use of coarse language.

We will visit the forum from time to time, and contribute to various topics. We reserve the right to delete any posts which are deemed offensive or against the spirit of the forum. Any spamming or illegal activity will not be tolerated. We also reserve the right to block any user who violates these guidelines.

To get started, we welcome you to sign up at our User Management site. Any account created there will have access to these forums, our Wiki, our Ideas site and commenting permission on our Status Blog.
See more
See less
Sweetcron and .htaccess Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Sweetcron and .htaccess

    I have a Linux hosting and would like to install Sweetcron, a lifestream app. It looks like all the requirements are met, but my question is re: the .htaccess file. Will I be able to use this file to allow the app to work properly from a subfolder (per the Sweetcron installation instructions)?

    Options +FollowSymLinks
    RewriteEngine On

    RewriteBase /[subfolder name]/

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php?/$1 [L]

    Thanks -

    Allan

  • #2
    G'day, Allan. Those Apache directives should work perfectly in an htaccess-file. If you have any problems, feel free to post'em here or open a support ticket.

    Cheers,
    Nick

    Comment


    • #3
      No luck

      I utilized the .htaccess file above ... so if my domain is www.abc.com, and sweetcron is in a subfolder, I used -

      Options +FollowSymLinks
      RewriteEngine On

      RewriteBase /sweetcron/

      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteRule ^(.*)$ index.php?/$1 [L]

      I received a 500 Internal Server Error.

      How do I correct this problem? Is there something about the absolute vs relative url that is causing the issue? Please advise.

      Allan

      Comment


      • #4
        Sweetcron and .htaccess

        If my domain is www.abc.com and Sweetcron is in subfolder /sweetcron, this is what my .htaccess file looks like:

        Options +FollowSymLinks
        RewriteEngine On

        RewriteBase /sweetcron/

        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteRule ^(.*)$ index.php?/$1 [L]

        When I go to www.abc.com/sweetcron/, I get a 500 Internal Server Error.

        Suggestions? Is this an issue of absolute vs relative urls? Please advise.

        Comment


        • #5
          Sweetcron/.htaccess error

          If my domain is "www.abc.com", and Sweetcron is in subfolder /sweetcron, then this is the .htaccess file I used:

          Options +FollowSymLinks
          RewriteEngine On

          RewriteBase /sweetcron/

          RewriteCond %{REQUEST_FILENAME} !-f
          RewriteCond %{REQUEST_FILENAME} !-d
          RewriteRule ^(.*)$ index.php?/$1 [L]

          When I go to "www.abc.com/sweetcron/", all I am getting is a 500 Internal Server Error.

          Suggestions? Is this an issue of absolute vs relative urls? Please advise.

          Allan

          Comment


          • #6
            Try removing the trailing slash from the RewriteBase, like this:
            RewriteBase /sweetcron

            If that doesn't help, let me know in this thread or via PM which domain this problem's affecting, and I'll take a look.
            -Nick

            Comment


            • #7
              No luck

              Tried that option ... with and without the trailing slash. No go.

              Will send you a PM.

              Allan

              Comment


              • #8
                Thanks for the PM, Allan. I poked around and believe I've solved the problem in the htaccess-file. Give it a whirl and let me know.

                Comment

                Working...
                X