wamp

Connect an Android app to localhost without internet connection

£可爱£侵袭症+ 提交于 2019-12-13 04:08:58
问题 i have an Android app that needs to access offline a MySQL database that's hosted on my localhost (i'm using WampServer). i can't use USB tethering or port forwarding because my laptop won't have internet connection too. what can i do? 回答1: You can setup wifi, connect your system which contains server and your android device to same wifi. Assign a static IP to your server system and let your android connect to that server's MySql through the IP you assigned. Basically it is nothing much

localhost in WAMP not working

折月煮酒 提交于 2019-12-13 03:08:06
问题 i use WAMP 2.2. installed and the ison is green. problem is the , when I enter locahost in URL , it doesn't work but when I enter 127.0.0.1 it works. what is the reason ? 回答1: Chances are that either: A. Your Windows Hosts file does not have this entry: 127.0.0.1 localhost B. Or this entry is 1st (comes before the above), and Apache is Listening on IPv4 only: ::1 localhost In the second case, just remove or comment out the entry. Hosts file path: C:Windows\system32\drivers\etc\hosts You'll

CodeIgniter: website not working on WAMP but it's work in the server?

那年仲夏 提交于 2019-12-13 03:06:17
问题 My .htaccess file : DirectoryIndex index.php RewriteEngine On Redirect 301 /index.html c:/wamp/www/inwanature/public_html/ RewriteCond $1 !^(index\.php|static|news|robots\.txt|favicon\.ico|sitemap\.txt|googledac098cbb1b6b9ff\.html) #RewriteCond %{REQUEST_FILENAME} !-f #RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L,QSA] # Brower Caching # 480 weeks <FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$"> Header set Cache-Control "max-age=290304000, public" <

how to makeup username:password pair in .htpasswd file on wamp server installed on windows OS

我的梦境 提交于 2019-12-13 03:01:58
问题 I am using Windows 8.1 OS and I installed Wamp server ...i google and found that " it should very rarely be edited by hand. There is a special program on a *nix machine that is designed to manipulate the .htpasswd file on your behalf. " so my question is how to Make-up username:password pair on my windows machine because I cant use that *nix on my window my .htpasswd looks like username:encryptedpassword john:odn927jw3h!hcj but to make-up encrypted password is never possible by hand so how to

Apache 403 error except from localhost

a 夏天 提交于 2019-12-13 02:53:41
问题 When i try to connect to my WAMP server using anything but localhost i get error 403. [Tue Sep 24 10:23:06.363000 2013] [access_compat:error] [pid 2912:tid 1520] [client ip:ip:ip:ip:49886] AH01797: client denied by server configuration: C:/wamp/www/ [Tue Sep 24 10:23:06.916000 2013] [access_compat:error] [pid 2912:tid 1520] [client ip:ip:ip:ip:49886] AH01797: client denied by server configuration: C:/wamp/www/favicon.ico I tried to start the wamp services as my account (running on win7 x64).

WAMP You don't have permission to access / on this server

ぃ、小莉子 提交于 2019-12-13 02:26:14
问题 You don't have permission to access / on this server. I created a new virtual host for my project. And now I cant access all locally stored projects that I could access earlier. But project on virtual host works. http-vhosts.conf: <VirtualHost *:80> ServerAdmin webmaster@dummy-host.example.com DocumentRoot "c:/Apache24/docs/dummy-host.example.com" ServerName dummy-host.example.com ServerAlias www.dummy-host.example.com ErrorLog "logs/dummy-host.example.com-error.log" CustomLog "logs/dummy

WAMP, Laravel 5: Routes not working - NotFoundHttpException

空扰寡人 提交于 2019-12-12 15:25:28
问题 I'm using Laravel 5 with WAMP on my local machine, no virtualization. After creating a fresh project using Composer called "LaravelProject", I can't seem to get my routes working at all. What I've already done: Edited httpd.conf to uncomment the line LoadModule rewrite_module modules/mod_rewrite.so Edited the /public/.htaccess file to be Options +FollowSymLinks RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [L] Refreshed WAMP

The connection was reset on wamp

十年热恋 提交于 2019-12-12 11:16:09
问题 I have installed wamp server on my pc. Then I have installed a zend application. I put it in the medaffiliate.com directory in www directory. When I access that directory by localhost/medaffiliate.com it just shows The connection was reset I have gone through many answers likes https://serverfault.com/questions/74313/what-could-cause-an-101-error-in-wamp-under-windows-7 They are all saying about closing mysql_close($connect); . My Apache error log shows me [Sat Jul 21 18:35:45 2012] [notice]

SSH2 in php, wamp,windows

允我心安 提交于 2019-12-12 10:12:52
问题 I have to connect sftp link and have to put data in sftp link. I want to connect sftp link through function ssh2_connect . My trouble is that whenever i am running that function i am getting error Call to undefined function ssh2_connect() . Then I downloaded libssh2.tar.gz and ssh2.tgz but i dont know where to install / put these files. I am using - Windows 7, Wamp server, mysql, php P.O. - If i have to run come commands then please tell also where i have to run that commands. Thanks in

Accessing local Wordpress site within the network using WAMP?

大兔子大兔子 提交于 2019-12-12 09:13:59
问题 Allright this driving me nuts! I have spent couple of hours trying to find a solution of how to access my Wordpress site from outside my network, when no easy solution was found I'm OK with just being able to accessing it from another device within my network. It turned out to be a tricky part as well. I just don't know how to configure this. I run virtual hosts using WAMP likeso: In httpd-vhosts.conf: <VirtualHost *:80> DocumentRoot "I:\web_dev\wordpress" ServerAlias wordpress.local