글 수 175
1. a2ensite (apache2enable)
sudo a2ensite /etc/apache2/site-available/default
아파치 재시작
* a2dissite는 위의 반대입니다(비활성화)
2.
cd /etc/apache2/sites-enabled
ln -s ../sites-available/default-ssl
- 분위기를 해치는 저속한 사진이나 글을 올리실 경우에는 관리자 임의로 게시물을 삭제처리 합니다.
- 갤러리에 게시된 모든 사진은 저작권법에 의해 보호되며 저작권자와의 상의없이 이용하거나 타 사이트에 게재하는 것을 금지합니다.
- 게시된 이메일 주소가 전자우편 수집 프로그램이나 그 밖의 기술적 장치를 이용하여 무단으로 수집되는 것을 거부 하며,
이를 위반시 정보통신망법에 의해 형사 처벌됨을 유념하시기 바랍니다.





<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride none
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/var/www">
AllowOverride none
addHandler cgi-script cgi pi
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
#CustomLog /var/log/apache2/access.log combined
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride none
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
</VirtualHost>