开发者

Does running a cronjob in shared webhosting (in CPanel) support mod_rewrite'd URLs?

I'm currently developin开发者_如何学JAVAg a PHP application where I have SEO friendly URLs, I'm planning on once finished production stage (off localhost) to purchase some shared webhosting and schedule a cronjob for one of the files.

Now I'm wondering does the shared webhosting CPanel cronjob scheduler support mod_rewrite'd URLs or will I need to pass the direct file path?


If you want to run the php script via command line, then

You will need to pass the full file path.

But if the script can be run via web request then you can use wget to use the URL of the file which will be the SEO friendly one

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜