I have a drupal 7 hosted on windows azure as web app.
When I upload an image into a content, my original image is stored in the files folder but its corresponding image styles are not stored (example in the thumbnail folder).
I tried this:
- Permissions 777/775
- Comment the following lines in the htaccess located in the files folder:
#Options + FollowSymLinks
I have the impression that it is Azure which blocks the writing of the files because the htaccess can be changed only in its own editor and not in my ftp.
I'm currently in the process of migrating a PHP website from LAMP Hosting to Microsoft Azure Web Apps Hosting.
The site being migrated uses HTAccess for URL Rewriting purposes; however from what I can tell, Azure does not support the use of HTAccess files (please correct me if I am wrong in this) - instead, it appears that I must use IIS WebConfig for this purposes (a technology that I am not overly familiar with).
Assuming that I have to rewrite the file from HTAccess to WebConfig, the HTAccess file to be rewritten uses Mod_Rewrite and external Rewrite Maps as part of the URL rewriting process. The HTAccess Rewrite Map performs a Database Query as part of this process whereby a URL such as www.example.com/category/music is inputted and then re-written to www.example.com/category.php?catID=1, i.e. the ID associated with each category name is identified via a Database query.
I've familiarised myself with the basics of Web Config and IIS Rewrite Maps thus far; however I have only encountered tutorials outlining static rewrite rules.
Is it possible to perform database queries using IIS Config - similar to the HT Access scenario outlined above?
If so, can someone please point me in the direction of some tutorials dealing with the topic or provide some sample code.
Any help is much appreciated.
I can't access my cakephp project.
i need to enable rewrite_module from apache, i tried to contact with the server, but they are showing some links that are not helpfull.
how do enable the rewrite_module?
I would like to create the following scenario in my web project, but as I am not pro web developer I don't know how to handle this.
Let's assume that I have project with main domain:
http://foobar.com and on this I have a links to the following subdomains:
Azure Web Sites from my project. The main question here is how to manage the code (now I am using Continuos Integration with GitHub) through these subdomains (the source code for every subdomain would be the same, except this one variable). Where should I start to search / read?
I'm not sure if this is the best/correct place for this type of question. But I have an existing .NET website which I am moving from our dedicated EC2 server to an Azure Web App.
However, this current site uses an .htaccess file with about 200 redirects (301 from old urls to new ones) which is powered by ISAPI rewrite (Which was installed manually on the Win2008 server).
I need to keep these redirects, but wondering how everyone else deals with permanent Url redirects on .NET applications when moving to an Azure Web App (From a dedicated server that had ISAPI rewrite installed)?
Putting them all in the web.config seems a little odd to me? And I don't know how that would affect performance?
Any advice or pointers would be appreciated as always.
I have azure websites like
I have domain name
www.mydomainname.com which is nothing but my main azure website
I want to configure Url in a way like
www.mydomainname.com/validation will redirect to azurewebsite
www.mydomainname.com/config will redirect to azurewebsite
I tried many things like
Manage domain but did not able to achieve this.