Taking Website offline
| Project: | Global Redirect |
| Version: | 5.x-1.0 |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | won't fix |
Jump to:
HI,
I have a website made on drupal : www.imconfuzed.com
For development i wanted to take the website offline on my PC. So I installed apache, php and sql on my comp, extracted the database and loaded it onto my local host.
Now when i try to open any page of the site on my localhost it is automatically redirected to the actual site.
I suspect a few reasons for this
1) Some settings problem in .htaccess / settings.php / php.ini (Although I have checked them all as per my knowledge)
2) Some problem with the global redirect module/ path redirect/ or URL alias kind of modules. I suspect this because I used to run on localhost before installing these modules and it worked fine, but at that time my i was using someone others computer so apache, php ,sql problem mite also be there.
Please help me. I really need it locally hosted so that i can continue with development.

#1
I just checked a very very old version of the database when I did not have any of the above mentioned modules installed. It is working fine.
It did not have clean URL, path redirect, global redirect, URL alias.
Anyone knows how to solve then Please help!!
#2
#3
Global redirect wont be doing this.
Without seeing the htaccess I cannot confirm this - but its likely that the rule in your HTAccess which forces the URL to be 'www.' prefixed (or removed) is deteting that the URL isn't www.example.com and redirecting to it instead.
#4
hi.. That problem was solved. It was due to some redirect put in my page.tpl by one of my tech guys..!!
But another problem is occuring. The site on localhost says that large query size.. so I want to change my query size in my.ini (SQL file), but cant change it as I have installed the package using XAMPP which I suspect is filling My.ini using an executable file. How do I cange it?
My ini file reads as follows:
[WinMySQLAdmin]
Server=c:/program files/mysql/bin/mysqld.exe
#5
I've no idea, sorry! Besides, thats also not a GR related issue. ;-)