CI and Zombaio's htaccess files - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: CI and Zombaio's htaccess files (/showthread.php?tid=38686) |
CI and Zombaio's htaccess files - El Forum - 02-15-2011 [eluser]esthonwood[/eluser] Hi everyone, so I used the CI framework combined with iui to make a mobile site. My .htaccess file looks like this: Code: Options +FollowSymLinks Then my client wanted me to have Zombaio as his billing processor and I was required to install their ZSCRIPT, which incidentally needs to overwrite the .htaccess file to this: Code: AuthUserFile /root/example.com/html/Zombaio_Data/.htpasswd Now, the CI url format (example.com/members/channel/2) won't work. It displays "Page not found" instead. What should I do? Help, anyone? CI and Zombaio's htaccess files - El Forum - 02-15-2011 [eluser]Basketcasesoftware[/eluser] Does your development platform provide you any log as to what the final address it is trying to go to is? CI and Zombaio's htaccess files - El Forum - 02-16-2011 [eluser]esthonwood[/eluser] [quote author="Basketcasesoftware" date="1297852277"]Does your development platform provide you any log as to what the final address it is trying to go to is?[/quote] I am not aware of any log files. Is there any way to know the final address? CI and Zombaio's htaccess files - El Forum - 02-16-2011 [eluser]Basketcasesoftware[/eluser] Ooh! Ouch! How are you testing your code again? What is your development platform? CI and Zombaio's htaccess files - El Forum - 02-16-2011 [eluser]Basketcasesoftware[/eluser] There might be a way. Are you able to run a clean install of CI 2.0 on that platform with that .htaccess file? CI and Zombaio's htaccess files - El Forum - 02-17-2011 [eluser]esthonwood[/eluser] I just combined the two htaccess files into one and it worked Anyway, thanks for the help CI and Zombaio's htaccess files - El Forum - 02-17-2011 [eluser]Basketcasesoftware[/eluser] Glad it was a simple fix. What the final .htaccess file look like? I've never messed with mobile apps (yet). Now you've got me curious. CI and Zombaio's htaccess files - El Forum - 02-19-2011 [eluser]esthonwood[/eluser] [quote author="Basketcasesoftware" date="1298017554"]Glad it was a simple fix. What the final .htaccess file look like? I've never messed with mobile apps (yet). Now you've got me curious.[/quote] I just copied the texts from the two .htaccess files and pasted it into one file. that's it CI and Zombaio's htaccess files - El Forum - 02-19-2011 [eluser]Basketcasesoftware[/eluser] Looking at both pieces of code a little more closely now I think I can see why. The second version didn't even turn on the rewrite for instance. I don't know if that's all there is to it, or if that was the problem at all, but it would make a certain sense if it was. |