我有一个网站,我正在建立一个目录,而不是在我的网络服务器的根。
I would like http://localhost/mysite/index.php?view=home
to rewrite to http://localhost/mysite/home
我不能让它工作
在.htaccess中尝试这样做
RewriteEngine On
RewriteBase /mysite/
RewriteRule ^([^/]*)$ index.php?view=$1 [L]
请查看此插图
桌面应用程序通过IP访问本地网络服务器上共享目录中的文件所需的用户名和密码放在哪里?
string var_main_dir = @"\\192.168.1.244\c$\repository";
在这一行之后,应用程序建立到服务器的连接,但停止并显示调试错误消息
和无效的用户名和密码
An unhandled exception of type 'System.IO.IOException' occurred in mscorlib.dll
附加信息:用户名和密码