Moving to different disk on Windows
Brought to you by:
spajot
I installed SPGM in XAMPP on Windows XP. It works as advertised and I was able to add pictures, etc.
Now, I want to change it so that the pictures are located on D:\Pictures. It goes through the motions, but does not load the pictures. I edited the spgm.php file so that it reads:
define('DIR_GAL', 'D:/Pictures/'); // galleries base directory (relative path from
// spgm.php or the file requiring it if there's one),
Should I have done this differently to account for Windows naming?
Thanks
I was trying to keep SPGM on drive C: under htdocs and keep only the galleryies under D:/Pictures.
It was easier to just install SPGM under D:Pictures and allow Apache to have access. This is done by:
In the <IfModule alias_module> section add the line:
Alias /Pictures D:/Pictures
Then add a Directory section as follows:
<Directory D:/Pictures>
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
Now everything for SPGM resides there and all works as expected.