Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image path in Apache mod_alias case. #96

Open
coscho opened this issue Jun 26, 2013 · 0 comments
Open

Image path in Apache mod_alias case. #96

coscho opened this issue Jun 26, 2013 · 0 comments

Comments

@coscho
Copy link

coscho commented Jun 26, 2013

Hello

  1. I have Apache mod_alias enable
  2. Alias /IMAGE /var/www/update2/images/
  3. So absolute path IMAGE/company/_thumb4/136037063754.png = /var/www/update2/images/company/_thumb4/136037063754.png
  4. If I type in URL http://localhost/IMAGE/company/_thumb4/136037063754.png i get the right image.
  5. images folder and image CHMOD is set to 0777

I still get error. I consider this as a issue.

public function __construct ($fileName, $isDataStream = false)
{
$this->imported = array();
$this->importedFunctions = array();
$this->errorMessage = null;
$this->hasError = false;
$this->fileName = "http://" . $_SERVER['HTTP_HOST'] . '/' . $fileName;
$this->remoteImage = false;
$this->isDataStream = $isDataStream;
$this->fileExistsAndReadable();
}

This is an working code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant