Jump to content
Froxlor Forum
  • 0

Create subdomain to PHP App, Froxlor adds trailing slash


pquerner

Question

Hello,

 

I have an app in /var/customers/webs/<customer>/<some-app>/web/app.php and I'd like to subdomain that dir to someapp.domain.com.

However, when I edit the path to that subdomain to the app.php, Froxlor always adds a trailing slash and therefore it thinks that app.php is a directory.

 

Cronjob output

mkdir: cannot create directory `/var/customers/webs/c/c.de/app/web/app_dev.php/': File exists
cp: accessing `/var/customers/webs/c/paskl.de/app/web/app_dev.php/': Not a directory
chown: cannot access `/var/customers/webs/c/c.de/app/web/app_dev.php/': Not a directory

Reproduce:

 

1) Add subdomain

2) Upload app do that dir

3) Change path of that subdomain to change path to /web/app.php

4) Save

When in the dashboard (after save) again, you'll already see the slash behind app.php

 

Froxlor is version 0.9.32-1+squeeze1

I'm running it on a Ubuntu Server 12.04

Apache is 2.4.10

 

 

 

Thanks

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Archived

This topic is now archived and is closed to further replies.



×
×
  • Create New...