![]() |
|
I need zen as primary address - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: I need zen as primary address (/thread-6699.html) Pages:
1
2
|
I need zen as primary address - erika_conn - 2010-03-04 [b]The following is what my ISP has. I don't know if that helps. [/b] Hosting package Business2y [b]Somebody said I could add a line to .htaccess and have the same result. Where in htaccess do I add the line? The following is my .htaccess file.[/b] htaccess file version 1.2.8.0;When Zenphoto requires changes to the rewrite rules:First make a copy of this file as 'oldhtaccess' in the zp-core folder so setup can test for unmodified filesUpdate the above and the define in setup.phpRewriteEngine On RewriteBase / RewriteRule ^admin/?$ zp-core/admin.php [R,L] RewriteCond %{REQUEST_FILENAME} -d RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteRule index.php$ index.php [L,QSA] Rewrite rule addition for searchRewriteRule ^page/search/fields([0-9]+)/(.)/([0-9]+)/?$ index.php?p=search&searchfields=$1&words=$2&page=$3 [L,QSA] Rewrite additions for zenpage
RewriteRule ^pages/(.)/?$ index.php?p=pages&title=$1 [L,QSA] RewriteRule ^(.)/image/(thumb|[0-9]{1,4})/([^/\]+)$ zp-core/i.php?a=$1&i=$3&s=$2 [L,QSA] Catch-all - everything else gets handled in PHP for compatibility.RewriteRule ^(.*)/?$ index.php?album=$1 [L,QSA] You know that big window with the error messages? Why does it say Upgrade. This is a new installation, not an upgrade. I need zen as primary address - acrylian - 2010-03-04 The setup looks actually good. Try to add the line before the "RewriteEngine On". I guess you should consider to get a host with better support if they can't answer you these questions... I need zen as primary address - erika_conn - 2010-03-04 Well, that didn't work. I got the following error: Please contact the server administrator, webmaster@fotosbyerika.ceconn.com and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request. Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8e-fips-rhel5 DAV/2 mod_python/3.3.1 Python/2.4.3 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_jk/1.2.25 mod_perl/2.0.4 Perl/v5.8.8 Server at fotosbyerika.com Port 80 I need zen as primary address - acrylian - 2010-03-04 Probably your host does not allow changing this values via htacces. As you cited they told you to create a php.ini file for your directory. So do that. How to do that ask either theme or search the web. This is not really a Zenphoto problem, sorry. I need zen as primary address - erika_conn - 2010-03-04 Like I said at the very beginning, instructions are just terrible. I finally got it installed, thanks to this site http://www.cyberward.net/blog/2009/05/installing-zenphoto-on-1and1/comment-page-1/#comment-4300 He walked me through it as he did others. Also, you'll notice there was no big deal made over the php.ini file. I simply followed his instructions and lo and behold it worked. I need zen as primary address - sbillard - 2010-03-04 So maybe you should volunteer to produce better instructions now that you have the process mastered. I need zen as primary address - acrylian - 2010-03-04 Sorry about that you are feeling our instructions are terrible. I can not proof that with several normal shared host over here (Germany). As kagutsuchi explained on your other thread we can't possibly foresee every special configuration of every server of every host out there. You really need to undestand that. 1and1 is known over here, too, and it is one of the more problematic "mass" hosters as well. We are small frequent team we are dependent on community contributions as well. Although that is really server specific and NOT a Zenphoto problem we surely can add a link to that post to our user guide's troubleshooting entry but if it is not know to us we can't do that. I have posted a comment on that site. Update: The entry is now here, extending an older entry regarding 1&1: http://www.zenphoto.org/2009/03/troubleshooting-zenphoto/#6 |