# WopiHost **Repository Path**: csq1124/WopiHost ## Basic Information - **Project Name**: WopiHost - **Description**: Microsoft Office Web Apps Server preview MS files - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 7 - **Forks**: 5 - **Created**: 2014-10-08 - **Last Updated**: 2020-12-17 ## Categories & Tags **Categories**: doc-tools **Tags**: None ## README WopiHost ======== Microsoft Office Web Apps Server preview MS files ## install pux `` $ composer install `` ## create .htaccess file like this ``` RewriteEngine On RewriteBase /WopiHost/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule .* index.php/$0 [PT,L] ``` ## test wopi is correct `` http://localhost/WopiHost/files/test.docx `` if response a json data, it's ok.