This Question is Resolved.

If you have a similiar issue that this thread does not address, click the button below to open a new related support topic.

 
 
URL Segment Support
Posted: 02 September 2010 08:25 AM   [ Ignore ]  
Summer Student
Total Posts:  7
Joined  09-01-2010

This question may be related to a resolved thread.

I want to set up a development environment for Expression Engine on my local computer like I have for Joomla.  But the EE Setup Wizard gives me a “No” in the category of URL Segment Support.  Since we will look for that in an eventual online web host, I need my environment to have it as well.  I have tried setting up an .htaccess file for my directory (c:/wamp/www/ee/) but that just gets me an error message.  Then when I remove it, the wizard works again but—of course—indicates no support for URL segments.

Can you provide the correct code that needs to go in the .htaccess file and where the .htaccess file should go i.e. should it be in the folder that contains my EE files or in the EE system file?

I am running wamp on a Windows XP machine that also runs IIS—I have both PHP and ASP customers.

Thanks,

Marsha

Profile
 
 
Posted: 02 September 2010 09:58 AM   [ Ignore ]   [ # 1 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  26058
Joined  05-14-2004

Hi, MarshaAhr -welcome to the forums.

We don’t support .htaccess modifications; but moreso, this is not really a .htaccess issue.  URL Segment Support simply means that you’ll need a question mark in your URLs after index.php.

You can read more about this in this forum FAQ

Hope that helps!

 Signature 
Profile
MSG
 
 
Posted: 02 September 2010 10:17 AM   [ Ignore ]   [ # 2 ]  
Summer Student
Total Posts:  7
Joined  09-01-2010

I don’t want to have one situation on my local environment (question marks in URLS) and another on an online host (no question marks in URLs).  I want both environments to be the same.  How do I find out how to modify my local environment.  When I Google search on “.htacess” and “URL segment support” everything comes back to ExpressionEngine topics.  So it’s either an issue specific to you—in which case you should address it—or there is some more general way of describing it to find a solution from Apache maybe?  What should I be searching on?  I can’t believe that everyone is creating all their sites on external hosts.

Profile
 
 
Posted: 02 September 2010 10:37 AM   [ Ignore ]   [ # 3 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  26058
Joined  05-14-2004

Hi, MarshaAhr - on IIS you are likely going to need the question mark.  The link that I gave explains why this is and what is required to run without it.

But you can simply keep this setting (force query strings) on in one location and off in another - it won’t impact your development process at all.

We can’t support or troubleshoot your server environment - your system administrator will need to do that.

Please post back if you have any other questions.

 Signature 
Profile
MSG
 
 
Posted: 02 September 2010 10:39 AM   [ Ignore ]   [ # 4 ]  
Summer Student
Total Posts:  7
Joined  09-01-2010

I’m not using IIS, I’m using Apache on a Windows machine that is running both.  But never mind, I’ll find an answer somewhere.  Cute cat and dog on your pic.

Profile
 
 
Posted: 02 September 2010 10:41 AM   [ Ignore ]   [ # 5 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  26058
Joined  05-14-2004

Thanks =)

Sorry, I mis-read from here:

I am running wamp on a Windows XP machine that also runs IIS—I have both PHP and ASP customers.

It should be possible in apache to get path_info working on Apache.

 Signature 
Profile
MSG
 
 
Posted: 02 September 2010 11:11 PM   [ Ignore ]   [ # 6 ]  
Grad Student
Avatar
Rank
Total Posts:  72
Joined  08-22-2010

Hi,

Please use the following code in your htaccess file and place it in c:/wamp/www/ee/ folder

RewriteEngine On 
RewriteCond 
$!\.(gif|jpe?g|png)$ [NC]
RewriteCond 
%{REQUEST_FILENAME} !-
RewriteCond 
%{REQUEST_FILENAME} !-
RewriteRule 
^(.*)$ index.php?/$1 [L] 

Hope that helps..

Cheers..

 Signature 

There is always something others can teach us and vice-versa


A Design Idea

Profile
 
 
Posted: 03 September 2010 07:32 AM   [ Ignore ]   [ # 7 ]  
Chancellor's Fellow
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  33338
Joined  05-15-2004

Thanks for chiming in, Noor. Marking this thread as “Resolved” for now, please don’t hesitate to start a new on in case there are more questions. Thanks smile

Profile
MSG
 
 
 

This Question is Resolved.

If you have a similiar issue that this thread does not address, click the button below to open a new related support topic.