我正在尝试在带有rackspace的云服务器中安装wordpress.
但是我缺乏服务器配置(LAMP等)的知识让我做了很多错过配置.
首先,我认为.httaccess是不允许的.第二个更新Wordpress和插件功能不允许第三个可能更多的数字...
让我展示我的虚拟主机文件:
<VirtualHost *:80>
# Admin email, Server Name (domain name) and any aliases
ServerAdmin adrian@my.com
ServerName my.com
ServerAlias www.my.com
# Index file and Document Root (where the public files are located)
DirectoryIndex index.html, index.php
DocumentRoot /home/devdreams/domains/my.com/public
# Custom log file locations
LogLevel warn
ErrorLog /home/devdreams/domains/my.com/log/error.log
CustomLog /home/devdreams/domains/my.com/log/access.log combined
<Directory />
Options FollowSymLinks
AllowOverride All
Order deny,allow
Deny from all
Satisfy all
</Directory>
AccessFileName .htaccess
<Directory /home/devdreams/domains/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all …Run Code Online (Sandbox Code Playgroud) 我正在寻找这个组合的好解决方案,并在遵循这些后:
他们似乎都没有为我工作......所以我开始尝试:
配置SSL,CloudFlare等后....
这是我试过的:
server {
listen 80;
server_name mysuperdomain.com www.mysuperdomain.com;
rewrite ^ https://$server_name$request_uri? permanent;
}
server {
# listen 80 deferred; # for Linux
# listen 80 accept_filter=httpready; # for FreeBSD
listen 443;
# The host name to respond to
server_name mysuperdomain.com *.mysuperdomain.com;
# Path for static files
root /sites/mysuperdomain.com/public;
ssl on;
ssl_certificate /etc/nginx/ssl/ssl.pem;
ssl_certificate_key /etc/nginx/ssl/ssl.key;
# Try static files first, then php
index index.html index.htm index.php;
# Specific logs for this vhost
access_log /sites/mysuperdomain.com/log/log-access.log; …Run Code Online (Sandbox Code Playgroud) 我正在尝试使用不同的选择框填充输入表单,例如:
(以下示例根本不起作用)
http://jsfiddle.net/K35er/1/ (上面的例子根本不起作用)
但目标是获取输入中的所有值,但采用以下格式:
1/2 R3
Run Code Online (Sandbox Code Playgroud)
其中1是#select,2是#select2&R3是#select3
这可能吗??
谢谢
.htaccess ×1
apache2 ×1
httpd.conf ×1
input ×1
jquery ×1
nginx ×1
prestashop ×1
rackspace ×1
select ×1
virtualhost ×1
wordpress ×1