문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 | 다음 판 양쪽 다음 판 | ||
develop:ruby [2007/04/02 22:48] mattabu |
develop:ruby [2007/04/02 23:04] mattabu |
||
---|---|---|---|
줄 94: | 줄 94: | ||
</ | </ | ||
< | < | ||
- | # vi /opt/rails/apache2/conf/ | + | # vi /etc/apache2/sites-available/test |
- | LoadModule php5_module modules/ | + | |
- | AddType application/ | + | |
- | AddType application/ | + | |
- | DirectoryIndex index.php index.html | + | |
- | Include conf/ | + | |
- | # vi / | + | |
- | # PHP 파트 | + | |
- | < | + | |
- | Options Indexes FollowSymLinks | + | |
- | AllowOverride None | + | |
- | Order allow, | + | |
- | Allow from all | + | |
- | </Directory> | + | |
< | < | ||
- | DocumentRoot PHP웹루트디렉토리 | ||
ServerName PHP도메인이름 | ServerName PHP도메인이름 | ||
+ | DocumentRoot PHP웹루트디렉토리 | ||
</ | </ | ||
- | # Rais 파트 | ||
- | < | ||
- | Options Indexes FollowSymLinks | ||
- | AllowOverride None | ||
- | Order allow,deny | ||
- | Allow from all | ||
- | </ | ||
< | < | ||
ServerName RAILS도메인이름 | ServerName RAILS도메인이름 | ||
+ | DocumentRoot RAILS웹루트디렉토리 | ||
+ | |||
RewriteEngine On | RewriteEngine On | ||
RewriteCond %{DOCUMENT_ROOT}/ | RewriteCond %{DOCUMENT_ROOT}/ | ||
줄 134: | 줄 116: | ||
BrowserMatch bMSIE !no-gzip !gzip-only-text/ | BrowserMatch bMSIE !no-gzip !gzip-only-text/ | ||
</ | </ | ||
+ | # cd / | ||
+ | # ln -s ../ | ||
</ | </ | ||