Joomla redirects Application url under IIS - php

I've installed php support on my IIS7 via FastCGI. Under IIS I've created a new website that host Joomla. Uploaded my site and it works fine.
Now I wanted to add another application under that website so that when someone goes to my url http://www.mysite.com/application_name he will get to the site hosted under that url.
What ends up happening is that on Chrome and Firefox I see the Application site, but on IE it points me to the root of the site (http://www.mysite.com/application_name points me to http://www.mysite.com/).
I've played around with .htaaccess file but had no luck. I even removed it entirely but it still does that and even when removed the entire joomla site keeps on working.
What configuration am I missing?
Thanks

.htaccess works only under Apache servers, it doesn't work on IIS. You should work on the web.config file.

Related

Processwire Admin 404

I have a problem here. I have built a site with Processwire on localhost and then transferred to my customer's server. a) it's a windows server (unfortunately) and b) there is a domain-mapping for this site, the domain points to a folder of another domain. Sorry, I can't explain it any better, I don't really understand the different types of servers (why do they have to be different anyway...).
My problem is, that I see the main website but not the admin page. Do I have to add anything to my .htaccess file?
I also tried to include web.config file. Not .htaccess nor web.config file have an impact when changing its content. I really have no clue what to do!!
Links: mcconnellacademy.ch, mcconnellacademy.ch/admin
Thanks for any pointing in the right direction!
If you install clean Processwire on your server, can you access admin page?
If yes, its better for compatibility to create site profile from your localhost site, and on remote server install new site with this site profile.
https://modules.processwire.com/modules/process-export-profile/
I am always moving sites from localhost to live server this way.
Is it possibly a RewriteBase issue?
https://processwire.com/docs/tutorials/troubleshooting-guide/page3

website gives ERR_CONNECTION_REFUSED

My site is pcc.edu.ph domain name is hosted in zoneedit.com, and I am trying to launch my website and make it live on the internet, oh and one more thing I am also using wamp 2.5 as server, and I'm using my computer as a webserver. I have followed the tutorials that was posted over the internet but nothing worked, I think there is something wrong with the apache setup, any suggestions?
here is what my apache httpd.conf
https://www.dropbox.com/s/nig7aro3mfg7cv2/httpd.conf?dl=0
any more suggestions?

Wordpress redirect loop ERR_TOO_MANY_REDIRECTS on Chrome, Firefox works sometimes

I am having a really difficult time trying to resolve a very mysterious issue, and I hope somebody can help. I am using Wordpress. I developed my own theme for Wordpress. I have used that theme for several sites in different hosting with no issue. It was working fine on this server I am having the issue with, but for a time now it is getting more common. I am getting a redirect loop error on Chrome ERR_TOO_MANY_REDIRECTS, but it seems to be working fine on Firefox. And sometimes it works fine on Chrome, but not on Firefox. I did the delete cookies and temp files and cache from my browser, and it worked for a moment, after a refresh on Chrome, the issue started again. Right now it is working on Firefox, but not on Chrome. So this is what I have tried:
Check .htaccess file. I deleted it and re-saved Permanent link settings to recreate .htaccess file. Did not work.
Modified the site_url and home values in the database from domain.com to www.domain.com and http://www.domain.com and http://domain.com and did not work.
Disabled all plugins, even moved all them to a different folder. Did not work.
Since I am using my custom theme, I disabled my theme and enabled the Wordpress default theme, and did not work.
Checked permission for a couple of folders. They were all fine.
Checked with the Chrome Inspector, and I see a lot of 302 Moved Temporarily.
Now, I am out of ideas, and I cannot find any scenario that matches mine. I am not sure if it is related to cache or cookies, or permissions on certain folder, or I don't know. I believe it is something related to cookies and permission, but I cannot find any help on how this works on Wordpress and I am not even sure it is the issue.
The other thing, is this is a Linux Server with Apache. So I dont know if it may be a Apache configuration issue or something with the server CPANEL or something. I only have access via FTP to the root folder of my Wordpress installation, access to the database via PHPMYADMIN and access to the Wordpress administrator. I need to make sure there is nothing else that can cause this issue in Wordpress and a way to prove if the issue is related to the Apache configuration or server related. I am very frustrated right now, since I am out of ideas and did my best to fix this. I really do appreciate if someone has an idea of what else can be done.
I have encountered this same problem recently and what was causing it in my case was a new 'feature' in an updated version of Plesk control panel. Plesk now automatically does a 301 redirect to the preferred domain. Now if the preferred domain in Plesk and WordPress are different or you have conflicting redirection set in your .htaccess file this could result in a redirect loop. The solution is to either change the preferred domain in Plesk or disable the redirect altogether. You mentioned that you are using Cpanel - I'm not sure if Cpanel has this wonderful 'feature' but it's another possible cause to eliminate.

Wordpress website renders differently on devices apart from the local server

I am using my laptop as a test environment for a wordpress website before I move it to an online server. I have this setup with a xampp sever running on the local machine. Wordpress is installed and running a theme which I have modified somewhat. When I navigate to the website from the local machine by going to 'localhost', the website displays correctly, however if I navigate to the website from another device whether it may be a computer, phone or tablet, the website seems to exclude css styling and only displays plain html. Any insights would be appreciated.
I know that with some browsers, sites in your local intranet except localhost are rendered differently. I am not sure whether this is the issue here. I am using Chrome Version 42.0.2311.135 dev-m
When you're accessing the site on another machine, open up the developer tools in your browser and see where the link to your CSS is pointing at.
It sounds like that CSS URL is hard-coded to be pointing at localhost (which would explain why it only works on your machine). It could also be the case that you have set your site's domain to be localhost in Wordpress which may be using that to render the URLs.
Double check your Wordpress settings, and also your theme's code.

CodeIgniter base_url with port number

I built a website in CodeIgniter in my local machine with Apache. The website works fine. Then I moved it to IIS in the same machine and converted the htaccess to web.config, and the website still works fine with no problems. Then I moved my website to an IIS remote server in the same network, created a new site in IIS and set it up on port 81. Then I modified the base_url in the config file in CodeIgniter to http://192.168.1.40:81/.
Now when I try to access my website under that URL, I get 500: Internal server error.
I'm not sure what's causing the problem. The only cause I can think of is the port number in the URL because the website was working in my local IIS, but there was no port number in the URL or base_url. It was just the default 80.
Does anybody have a suggestion for this problem?
Thank you very much for your help. I found the solution. Joachim Isaksson was right about php not installed. when I created the website on iis, I thought php was added to the website automatically, but I was wrong. You need to add php to every new site you create in iis (if i'm wrong, please tell me how to set up php to be added automatically when a new site is created in iis.) Then I installed the url_rewrite in iis. and the problem was solved.
Thank you guys again

Categories