Maison >développement back-end >tutoriel php > php:这句话什么意思,该怎么解决
php:这句话什么意思
按照文档搞IAP,我在windows上安装了apache,还需要DNSmasq,我用的pDNS代替,然后文档里说的这句话不知道怎么搞了:
Next, virtualhost with certificate and key itcert.pem, itcert.key (or generate yours) listens on *.itunes.apple.com on 443, virtualhost listens on *.itunes.apple.com on 80, pucert.cer - purchase receipt certificate with keylength = 1024, virtualhost listens on * on 443 for devs server emulation, virtualhost listens on * on 80 for devs server emulation,
rewrites all on iapcracker.php on *.itunes.apple.com, rewrites all to index.php on *.
这个要怎么操作呢?windows下能实现吗?
还有,提到的rewrite可以理解为映射么? 求助啊
------解决方案--------------------
你安装的版本是带SSL的,要你加入发行证书,如非必要,装不带SSL的版本就行
------解决方案--------------------
rewrite只是地址重写而已
rewrites all on iapcracker.php on *.itunes.apple.com, rewrites all to index.php on *.
它让你建立rewrite重写到index.php
rewrite很简单,在网站根目录建立一个文件,命名为 .htaccess 内容为
RewriteEngine on<br /> <br /> # 修改以下语句中的 / 为网站目录地址<br /> RewriteBase /<br /> <br /> # class.html<br /> RewriteRule ^([a-zA-Z]*)\.html$ ?action=$1 [NC]