任何人都可以帮我将这个web.config文件转换为.htaccess。
我试图在谷歌上搜索但无法找到所需的结果。
这是我的webconfig。
% time vector
dt = 0.01;
t = (0:dt:10).';
% position coordinates
x = 2*cos(t./2);
y = 1 + exp(-t.^2);
z = sqrt(t);
% color
c = (1:numel(x)).';
% plot position
subplot(121)
h = surf([x,x],[y,y],[z,z],[c,c],...
'FaceColor','none','EdgeColor','interp','LineWidth',1);
grid on
xlabel('x'); ylabel('y'); zlabel('z');
title('Position(t)');
% second derivatives of x,y,z w.r.t t
dt2 = dt^2;
d2x = diff(x,2)./dt;
d2y = diff(y,2)./dt;
d2z = diff(z,2)./dt;
% color
c = (1:numel(d2x)).';
% plot derivatives
subplot(122)
h = surf([d2x,d2x],[d2y,d2y],[d2z,d2z],[c,c],...
'FaceColor','none','EdgeColor','interp','LineWidth',1);
grid on
xlabel('x'); ylabel('y'); zlabel('z');
title('Acceleration(t)');
答案 0 :(得分:0)
尝试:
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule "^(.*/)?api/(.*)$" $1api/http.php/$2 [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule "^(.*/)?pages/(.*)$" $1pages/index.php/$2 [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule "^(.*/)?scp/apps/(.*)$" $1scp/apps/dispatcher.php/$2 [NC]