Skip to content

Commit 1d99eed

Browse files
committed
Made the service globally available at /compiler
Changed Apache config to make /compiler accessible as a global routing and not a separate virtual host.
1 parent e70bf2a commit 1d99eed

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

apache-config

+7-12
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
1-
<VirtualHost *:80>
2-
ServerAdmin root@localhost
3-
DocumentRoot /opt/codebender/compiler/Symfony/web/
4-
DirectoryIndex app.php
5-
6-
<Directory /opt/codebender/compiler/Symfony/web>
7-
Options -Indexes FollowSymLinks MultiViews
8-
AllowOverride All
9-
Order allow,deny
10-
Allow from all
11-
</Directory>
12-
</VirtualHost>
1+
AliasMatch ^/compiler/?(.*) /opt/codebender/compiler/Symfony/web/$1
2+
<Directory /opt/codebender/compiler/Symfony/web>
3+
Options -Indexes FollowSymLinks MultiViews
4+
AllowOverride All
5+
Order allow,deny
6+
Allow from all
7+
</Directory>

0 commit comments

Comments
 (0)