sss

[root@ChrisTest 7zip-mirror-master]# vi /etc/httpd/conf/httpd.conf

<VirtualHost *:9999>

ServerName test.ChrisTest.localhost

 ServerName Test3
DocumentRoot /var/www/html/test3/public
SetEnv APPLICATION_ENV "development"
<Directory /var/www/html/test3/public>

Options Indexes FollowSymlinks
IndexOptions FancyIndexing ScanHTMLTitles NameWidth=75 DescriptionWidth=128 VersionSort FoldersFirst
IndexIgnore favicon.ico header.html footer.html images
HeaderName header.html
ReadmeName footer.html
#AddDescription “Qmail安裝包” qmail.tar.gz
IndexOrderDefault Ascending Name

DirectoryIndex index.html

    AllowOverride All
    Order allow,deny
    Allow from all
</Directory>

</VirtualHost>

[root@ChrisTest Files]# pwd
/var/www/html/test3/public/Files

[root@ChrisTest Files]# ls *.html
footer.html header.html
重點在於,雖然在httpd.conf裏指定的虛擬站點目錄下的footer.html,header.html看似相對路徑。
但這兩個文件必須得放到想要實現美化效果的目標目錄下才行。

=======================另外其他一些信息==========================

[root@ChrisTest Files]# more ~/.bashrc
alias 1="bash $HOME/script/mounting/I.sh"

alias 2="bash $HOME/script/mounting/K.sh"

alias r1="umount -l //10.116.0.200/personal$/DSHA/xjxxxx01"
alias r2="umount -l //10.116.0.200/DSHA/Departments/ISD"

[root@ChrisTest mounting]# more I.sh
#!/bin/bash

read -s -e -p 'Password: '

mount -t cifs //10.116.0.200/personal$/DSHA/xjxxxx01 -o username='dsha\xjxxxx01',password="$REPLY",r /I
echo " "

exit 1
[root@ChrisTest mounting]# more K.sh
#!/bin/bash

read -s -e -p 'Password: '

mount -t cifs //10.116.0.200/DSHA/Departments/ISD -o username='dsha\xjxxxx01',password="$REPLY",r /K

echo " "

exit 1

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章