Forums / General / Some troubles with paths in eZP 3.1

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Some troubles with paths in eZP 3.1

Author Message

alt alt

Tuesday 01 July 2003 11:19:03 pm

I'm trying my site under windows xp before install it to FreeBSD eviroment.
And i have a problem with var path under xp. I use apache 1.3.22, php 4.3.2. If I use VarDir=var in site.ini GD will generate error no such file or directory (ex: imagecreatefromjpeg('var/storage.../a.jpg'), e.g. it does not use relative paths). And if i use VarDir=/home/site/var GD is working fine, but i have urls with this non-relative path (e.g. http://domainname/home/site/var/strorage/.../a.jpg instead of http://domainname/var/strorage/.../a.jpg, and i have 404 error). And paths as i:/home/site/var i cannot use because thems fully not acceptable.

Now i use rewrite rule RewriteRule ^/home/site(.*)$ $1 [L] for testing purposes, but I can not use it in the future, because security reasons. i want hide real paths from users. what i need doing for right urls, under xp and under linux/freebsd?

(sorry my english, my native lang is russian)