www.yourdomain.com vs. www.yourdomain.com/gallery
abnersnell
Joined: 2002-09-06
Posts: 1 |
Posted: Fri, 2002-09-06 05:06 |
Gallery is installed and working perfectly at http://www.mydomain.com/gallery. What magic do I need to work to use: http://www.mydomain.com and have gallery come up automatically. Mandrake/Apache/PHP/Mysql/Postfix Any advice on file permissions for gallery directory and album directory would be helpful as well. /var/www/mydomain/gallery Should albums be inside gallery? Any help would be greatly appreciated. Thanks in advance, Abner |
|
Posts: 487
Well, you have two choices basically:
<LI>Install Gallery into your www root and leave albums as a subdirectory to the root and just update your paths to reflect this.<LI>Or, leave things as they are and create an index page in your www root that auto forwards visitors to your Gallery.
[/]
Posts: 120
And this is the sample index.html file to redirect.
-----------------------------
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta http-equiv="Refresh" content="1; URL=http://www.needguide.com/topath/">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<TITLE>NeedName.Com everyone need name, register now.</TITLE>
</head>
<body>
<p align="center" style="word-spacing: 1; margin-top: 1; margin-bottom: 1">&nbsp;</p>
</body>
</html>
-----------------------------------
end file.
All you have to do is update the URL path to your /gallerypath/
This will solve your issue.[/]