[SOLVED] symbolic links to gallery directory?
RageEar
Joined: 2002-10-15
Posts: 3 |
Posted: Thu, 2004-06-24 19:16 |
Here's what I want to accomplish: I want http://dianawalden.rageear.com/ to point to where I installed Gallery, which would be http://dianawalden.rageear.com/gallery/. I've tried to use a symbolic link from http://dianawalden.rageear.com/index.php to http://dianawalden.rageear.com/gallery/index.php, but when I do that I get the error message complaining about the approved file list:
I tried to editing index.php to include the linked index.php (using the explicit path) but that did not solve the problem. I also tried using .htaccess (via mod_rewrite) to point the root /, to /gallery. Also resulting in the same problem. Any suggestions? My config is down below. Thanks in advance! ---- |
|
Posts: 2322
Sounds like the file's corrupt. Re-upload index.php.
Posts: 3
Not to question the wisdom of a Gallery developer, but I don't think that is the case, simply because if I access the gallery directly (via http://dianawalden.rageear.com/gallery/index.php) everything works out OK.
However, I will try uploading a new version of the file and report back my results.
Posts: 2322
Well, the 'error' you posted isn't an error. It's part of the raw text of the page, completely unprocessed. I know that using symlinks and mod_rewrite is not an issue when redirecting traffic. You should check for error messages in your apache logfiles.
Posts: 3
Silly me!
To think that I knew what was going on better than the Lead Developer of Gallery.
I re-uploaded index.php and problem was solved!
Thanks very much and I apologize profusely for doubting your knowlege!
Posts: 2322
Heh. Not a problem.. just glad you got it fixed.