.htaccess and Rewrite woes with Debian4.0 and ISPconfig

Discussion in 'Server Operation' started by tony98, Apr 20, 2007.

  1. tony98

    tony98 New Member

    I recently installed Debian4.0 via the perfect install guide and ISPconfig ontop of that. I've attempted to setup myPh3 Gallery (http://myph.sourceforge.net/) and phpAutoGallery (http://phpautogallery.sourceforge.net/) with little or no sucess. (I've run phpAutoGallery before with no troubles)

    myPh3 started with complaining about "Options not allowed here" I changed the apache2.conf to AllowOverride All in that directory but that just lead me to a new problem.
    [Fri Apr 20 11:32:07 2007] [error] [client x.x.x.x] Directory index forbidden by Options directive: /var/www/web7/web/myPh3/

    web/myPh3/.htaccess should be redirecting the client....

    So, after that I figured something was broken and proceeded to not find any information on myPh3 users.. so, I moved to something I've used before (even so I think I would like to try myPh3 in the future)

    phpAutoGallery is also giving me problems with the url rewrite.. This is the page that loads when I go to the main gallery page.. notice the recursive /photobox
    and here is the .htaccess file for that directory.
    Any ideas? I've checked /etc/apache2/mods-enabled and rewrite is turned on.


    Thanks !

    -Tony
     
  2. elmotheelk

    elmotheelk New Member

    Hi Tony,

    Search Google on my own script, I came across your problem with my myPh3 script. Very nice to see people actually trying it out and using it! THerefor, I'd be more than willing to help you with your problems.

    First of all, you can simply turn off URL rewriting to see it the script is set up correctly. Get your browser to /myPh3/myPh3.core.php (if you installed the script in a website subdirectory /myPh3) hereafter. If this works, we can direct to the rewrite problem. Are you sure your used the /myPh3/myPh3 URL? It does NOT use the directory default page... You can also contact me at the SourceForge site http://myph.sf.net . Hope to hear from you.

    Eric
     

Share This Page