# Sitemgr: image path either invalid for the admin or for the website itself

**URL:** <http://discourse.egroupware.org/t/sitemgr-image-path-either-invalid-for-the-admin-or-for-the-website-itself/25267>\
**Category:** eGW-users\
**Created:** [May 27, 2008, 3:42pm UTC](http://discourse.egroupware.org/t/sitemgr-image-path-either-invalid-for-the-admin-or-for-the-website-itself/25267 "2008-05-27T15:42:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bones0](http://discourse.egroupware.org/letter_avatar_proxy/v4/letter/b/90ced4/32.png) [@bones0](http://discourse.egroupware.org/u/bones0)\
**Post date:** [May 27, 2008, 3:42pm UTC](http://discourse.egroupware.org/t/sitemgr-image-path-either-invalid-for-the-admin-or-for-the-website-itself/25267/1 "2008-05-27T15:42:38Z")

</div>

Hello all

I want to manage the normal main website. That means.

egroupware is in:  
[http://egroupware.mydomain.xyz/](http://egroupware.mydomain.xyz/)

The Website-path in ftp is:

- /egroupware/sitemgr/sitemgr-site

The website’s URL is:

- [http://mydomain.xyz](http://mydomain.xyz)

Now the image path in Sitemgr options can’t be set right. It needs the  
following to be considered valid:

- /sitemgr/sitemgr-site/images/uploads

But then the webbrowser is looking for images in:

- [http://mydomain.xyz/sitemgr/sitemgr-site/images/uploads](http://mydomain.xyz/sitemgr/sitemgr-site/images/uploads)

Which is wrong since the images are in:

- [http://mydomain.xyz/images/uploads](http://mydomain.xyz/images/uploads)

## Because only _that_ corresponds to

[http://egroupware.mydomain.xyz/egroupware/sitemgr/sitemgr-site/images/uploads](http://egroupware.mydomain.xyz/egroupware/sitemgr/sitemgr-site/images/uploads)

IMHO the base the Sitemgr-Options use for checking the path is wrong. It  
should not check it agains the eGroupWare-Base-URL but against the  
Websites’s URL.

But that raises the question what fckeditor is doing when uploading an  
image. It most likely must get another path too.

Regards  
Peter

–

mit freundlichen Grüssen

Peter Guhl  
Win-Lux GmbH  
Obere Schöntalstrasse 22  
CH - 8406 Winterthur

Telefon: +41 (0)81 330 51 51  
Mobil +41 (0)76 437 03 09  
Fax: +41 (0)81 332 44 58  
Mail: [peter.guhl@win-lux.ch](mailto:peter.guhl@win-lux.ch)  
Skype: p\_guhl  
Web: [http://www.win-lux.ch](http://www.win-lux.ch)

\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* Vertraulichkeitserklärung \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
Diese Mitteilung resp. deren Beilagen können vertrauliche und/oder  
persönliche Informationen enthalten, die einzig für den adressierten  
Empfänger bestimmt sind. Jegliche Kenntnisnahme oder Weiterleitung durch  
oder an Dritte ist untersagt. Wenn Sie nicht der adressierte Empfänger sind,  
nehmen Sie bitte Kontakt mit dem Absender der Nachricht auf und löschen  
Sie alle Kopien. Vielen Dank.
