Member
Member
MarkusDippold   2009-08-24, 20:40
#1

Hi,

I've found some older postings about using mod_rewrite or changing the rewrite-path.
But the things doesn't work as I expect.

What will I do?
(1) http://www.dippold.org/zenphoto => this works in moment
(2) http://modellbahn.dippold.org/ => subdomain to http://www.dippold.org/zenphoto , doesn't work in moment (only the first page), calling a album, a 500er internal server error appears.

I want, that both URLs will go to the gallery.

So, changing RewriteBase in .htaccess to "/", only (2) works, and (1) never more.
Adding $conf['mod_rewrite'] = 'false'; to zp-data/zp-config.php (under "Path Overrides") seems to have no effect.

What can I do, that the gallery can used with (1) AND (2)?

Greets,
Markus

Member
Member
sbillard   2009-08-24, 21:15
#2

Are you trying to have zenphoto both in a folder and in the root of a subdomain? Mod-rewrite cannot handle that as there is only one rewrite base so far as I know. Guess you cannot use mod_rewrite

Member
Member
MarkusDippold   2009-08-25, 04:57
#3

Hm, I have zenphoto installed to http://www.dippold.org/zenphoto .
The subdomain http://modellbahn.dippold.org/ points to http://www.dippold.org/zenphoto/ , that I have created with the admin-menu at the hoster.
This is the idem(?) (same) installation.
(I hope, you know, what I suppose. You can eat the same egg twice - the second egg looks like the first one -, but the idem egg you can eat only once, because it exists only once ;-) )

For me it's curious, that with http://modellbahn.dippold.org/ the first page (title page) appears, but not the pages with the subalbums. This causes an internal server error.

Greets,
Markus

Member
Member
MarkusDippold   2009-08-25, 07:21
#4

Hi,

I've change the RewriteBase in .htaccess, so the modellbahn.dippold.org is standard-adress now.

Greets,
Markus

Member
Member
sbillard   2009-08-25, 16:48
#5

There is no mod_rewrite needed for the index page.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.