Re: [campsite-support] Can't get /admin/ to work!
  • Thanks Mark for help!

    I guess Mark answered your first question. The multiview option allows
    apache to run PHP scripts that match the first path name in the URI. This
    allows Campsite to run everything through the admin.php script. This script
    will do all checks and load the needed pages. It's easier to write code this
    way and it makes it more secure.

    Mugur

    On Thu, Oct 16, 2008 at 11:22 AM, wrote:

    > Author: primexx
    > Link: http://code.campware.org/phorum/read.php?8,6628,6628#msg-6628
    >
    > --------------------------------------------------------------------------------
    >
    > The lack of admin folder is really confusing, and the matter isn't helped
    > by the utter lack of documentation which explains that the folder doesn't
    > actually exist, nor any documentation which clearly explains this whole
    > thing in detail. Eventually I found this forum and the few previous topics
    > on this, but I still can't get it to work.
    >
    > a) What's the whole deal with a Virtual Host or whatever? I've never come
    > across any software that even mentioned it, why does Campsite need to use
    > it?
    >
    > b) And then what's this MultiView thing? I've again never heard of anything
    > like it.
    >
    > Bottom line is I just want to use the software, but it's giving me hurdles
    > before it's even set up, that's gotta be good for first impression.
    >
    > Can anyone please help me get it working???
    >
    > Thanks...
    >
    > --
    > Sent from Campware Forums
    > http://code.campware.org/phorum
    >
  • 3 Comments sorted by
  • Add this line to your .htaccess file in root of campsite folder.

    Options -Indexes FollowSymlinks MultiViews
  • thanks mark and mugur for your explanations, but i still don't know how to set it up. perhaps it's easier to use a solid example.

    I'm trying to install it on a shared host, here http://campsite.cshen.ca/, I tried to do it in a /campsite/ folder instead of a subdomain but that quickly failed because apparently the software detects the root path instead of the full path when including/redirecting to files (why???).

    I have access to ftp and cPanel, and I haven't added the dot to the htaccess file, I tried adding it and that just redirected every request to the main index.

    You could see that right now http://campsite.cshen.ca/admin/ can't be found.

    how do I make it work???

    thanks!
  • Radenko: that just makes everything forbidden Sad