我在亚马孙第二中心安装了Bitnami Hugo Wordpresse。
The wordpress.conf
file on a Bilnami instance act as an htaccess file.
名录结构如下:
/opt/bitnami/apps/wordpress/htdocs/index.php
www.un.org/chinese/sc/presidency.asp 档案
Alias /wordpress/ "/opt/bitnami/apps/wordpress/htdocs/"
Alias /wordpress "/opt/bitnami/apps/wordpress/htdocs"
<Directory "/opt/bitnami/apps/wordpress/htdocs">
Options Indexes MultiViews +FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
RewriteEngine On
RewriteBase /wordpress/
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /wordpress/index.php [L]
</Directory>
# Uncomment the following lines to see your application in the root
# of your URL. This is not compatible with more than one application.
#RewriteEngine On
#RewriteRule ^/$ /wordpress/ [PT]
这使得log与LURL一道出现。
http://ec2instance.com/wordpress/。
我想(包括在观察个别员额时):
http://ec2instance.com/blog/
http://ec2instance.com/blog/post- number-1
http://ec2instance.com/blog/post- number-2
等等
任何人都知道如何作出这一改变?