/gallery lists contents of directory
eeek
Joined: 2003-08-22
Posts: 4 |
![]() |
Hi, I know this is something simple, but i dont know how to fix it. When i go to mydomain.com/gallery how do i make mydomain.com/gallery redirect to the albums.php script? kind regards |
|
beckett
![]()
Joined: 2002-08-16
Posts: 3474 |
![]() |
You should add the following lines to your Apache httpd.conf config. file: <IfModule mod_dir.c> DirectoryIndex index.html index.htm index.php </IfModule> You probably already have the index.html but should add the index.php one. Then stop and restart your webserver. -Beckett ( beck@beckettmw.com) |
|
eeek
Joined: 2003-08-22
Posts: 4 |
![]() |
HI, Thanks for your help. all i needed to do was add the index.php to the DirectoryIndex line in apache 2. cheers |
|
buckuxc
Joined: 2004-04-28
Posts: 2 |
![]() |
hey all, I'm a newbie to setting this up, but I understood everything and configuration was successful. Now I just want my Gallery front page to show up when someone types in "mydomain.com"/photos. Right now the the directory everything is in is "gallery" but I figure I can just change that through FTP, then re-configure the Gallery settings, right? But I can't find the "httpd.conf" file to make the change in. I searched for it both on my server through the FTP program and using Finder (my hidden files are visible) on my Mac, but no luck. I just want the URL for my gallery page to be mydomain.com/photos and then when someone clicks an album it becomes /photos/albumname.... I looked through the forums and in the FAQ for awhile, but only found information that wasn't specific to what I wanted to do. Any help would be appreciated. sps |
|