Skip to content

Commit cd22177

Browse files
committed
added sample env file and vhost config file for windows apache
1 parent d335916 commit cd22177

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

example.env

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#VITEPRESS_BASE=/comforthrmdocs/
2+
VITEPRESS_BASE=/
3+
VITEPRESS_BASE_URL=http://comforthrmdocs.test

vhost.config

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<VirtualHost comforthrmdocs.test:80>
2+
<Directory "{$path}/htdocs/comforthrmdocs/www/dist">
3+
Options FollowSymLinks Indexes
4+
AllowOverride All
5+
Order deny,allow
6+
allow from All
7+
</Directory>
8+
9+
ServerName comforthrmdocs.test
10+
ServerAlias comforthrmdocs.test 127.0.0.1
11+
12+
ScriptAlias /cgi-bin/ "d:/xampp/htdocs/cgi-bin/"
13+
DocumentRoot "d:/xampp/htdocs/comforthrmdocs/www/dist"
14+
ErrorLog "d:/xampp/apache/logs/error.log"
15+
CustomLog "d:/xampp/apache/logs/access.log" combined
16+
17+
#Enable mod_rewrite
18+
#RewriteEngine On
19+
#RewriteRule ^/comforthrmdocs/assets/(.*\.(png|jpg|js|css|woff2))$ /assets/$1 [L]
20+
#RewriteRule ^/comforthrmdocs/(.*\.(png|jpg|js|css|woff2))$ /$1 [L]
21+
#RewriteRule ^/comforthrmdocs/(.*)$ /$1 [L]
22+
23+
</VirtualHost>

0 commit comments

Comments
 (0)