A. htaccess file

Source: Internet
Author: User
One. the small problem with the htaccess file has just been exposed to the php Framework: zendframework, which is known to be required in the framework operation. htaccess, I followed the tutorial to make a simple example and wanted to see if this example can run in the server space, I used the ftp software to upload the entire project directory to the server space, but I found that. an htaccess file cannot be uploaded (this file cannot be viewed on the server. small problem with htaccess files
I just touched on the php framework: zend framework, and learned that it is necessary to operate the framework. htaccess, I followed the tutorial to make a simple example and wanted to see if this example can run in the server space, I used the ftp software to upload the entire project directory to the server space, but I found that. the htaccess file cannot be uploaded (this file cannot be viewed on the server). does this mean that this server does not support zend framework? Is there no way to upload?

------ Solution --------------------
Ftp does not support. htaccess, and does not support server. If you want to repeat the problem, you will know ..
------ Solution --------------------
Yes,. htaccess, which must be enabled by apache. Is it your own server?
------ Solution --------------------
This file is hidden on the server, and the hidden file is displayed on the server.
------ Solution --------------------
First, check whether your space supports url rewriting...
------ Solution --------------------
Discussion
First, check whether your space supports url rewriting...

------ Solution --------------------
Here, FTP can display files starting.

Let's take a look at FTP settings.

It seems to have something to do with server settings.
------ Solution --------------------
If it doesn't work, use winscp for ftp.

Set the file starting with "." to be displayed.


------ Solution --------------------
I used FlashFXP to upload the file and check whether your server has enabled the Rewrite module.
------ Solution --------------------
Discussion

Reference:
First, check whether your space supports url rewriting...

I cannot see or modify the server configuration. how can I know whether the server supports url rewriting?

------ Solution --------------------
Mark
------ Solution --------------------
Apache must support URL rewriting.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.