Jump to content
XPEnology Community

SubDomain PhotoStation


Victorien

Recommended Posts

Bonsoir,

 

Voila sur ma configuration précédente j'utilisais cette configuration pour pouvoir accéder a PhotoStation via un sous-domaine

 

ServerName subdomain.example.com
DocumentRoot "/var/packages/PhotoStation/target/photo"
ErrorDocument 403 "/webdefault/sample.php?status=403"
ErrorDocument 404 "/webdefault/sample.php?status=404"
ErrorDocument 500 "/webdefault/sample.php?status=500"


  AliasMatch ^/photo$ "/var/packages/PhotoStation/target/photo/"
  Alias /photo/ "/var/packages/PhotoStation/target/photo/"
  AliasMatch ^/blog$ "/var/packages/PhotoStation/target/photo/blog/"
  Alias /blog/ "/var/packages/PhotoStation/target/photo/blog/"
  RedirectMatch ^/blog/include/v(.*) /photo/get_video.php?$1
  AliasMatch ^/~([^\/]*)/photo$ "/var/packages/PhotoStation/target/photo/"
  AliasMatch ^/~([^\/]*)/photo/(.*) "/var/packages/PhotoStation/target/photo/$2"
  AliasMatch ^/~([^\/]*)/blog$ "/var/packages/PhotoStation/target/photo/blog/"
  AliasMatch ^/~([^\/]*)/blog/(.*) "/var/packages/PhotoStation/target/photo/blog/$2"
  RedirectMatch ^/~([^\/]*)/blog/include/v(.*) /~$1/photo/get_video.php?$2



  AliasMatch ^/photo$ "/usr/syno/synoman/empty/photo/"
  Alias /photo/ "/usr/syno/synoman/empty/photo/"
  AliasMatch ^/blog$ "/usr/syno/synoman/empty/blog/"
  Alias /blog/ "/usr/syno/synoman/empty/blog/"
  RedirectMatch ^/blog/include/v(.*) /photo/get_video.php?$1
  AliasMatch ^/~([^\/]*)/photo$ "/usr/syno/synoman/empty/photo/"
  AliasMatch ^/~([^\/]*)/photo/(.*) "/usr/syno/synoman/empty/photo/$2"
  AliasMatch ^/~([^\/]*)/blog$ "/usr/syno/synoman/empty/blog/"
  AliasMatch ^/~([^\/]*)/blog/(.*) "/usr/syno/synoman/empty/blog/$2"
  RedirectMatch ^/~([^\/]*)/blog/include/v(.*) /~$1/photo/get_video.php?$2



  Options MultiViews
  AllowOverride None
  Order allow,deny
  Allow from all


 

Mais cette configuration ne fonctionne plus avec DSM 6, les fichiers ne sont plus au même endroit et tout, bref je suis perdu si quelqu'un peux m'aider.

 

Merci

Link to comment
Share on other sites

×
×
  • Create New...