Part of the EllisLab Network
   
 
Problem with server
Posted: 13 May 2007 01:02 PM   [ Ignore ]  
Grad Student
Rank
Total Posts:  36
Joined  04-17-2007

Hi everybody,
I have a problem with my web server, I mean that the uri:
http:// www . domain . com / index.php/ecc..

causes always 404 error, no matter what I insert after index.php (the “/” presence causes the error).

Do you know if it’s a problem with server?

Bye and thanks

Profile
 
 
Posted: 13 May 2007 01:14 PM   [ Ignore ]   [ # 1 ]  
Summer Student
Total Posts:  7
Joined  04-23-2007

have you tested it on your localhost? or is it on your localhost?
what kind of host do you have?

I don’t think its a problem whit the server,just your URLs or Installasjon, but we can’t really say if you dont give us anymore informasjon.

I don’t think its a problem whit your server since all your really need is support for PHP4 or 5..

Profile
 
 
Posted: 13 May 2007 01:20 PM   [ Ignore ]   [ # 2 ]  
Grad Student
Rank
Total Posts:  36
Joined  04-17-2007
Sindre - 13 May 2007 01:14 PM

have you tested it on your localhost? or is it on your localhost?
what kind of host do you have?

I don’t think its a problem whit the server,just your URLs or Installasjon, but we can’t really say if you dont give us anymore informasjon.

I don’t think its a problem whit your server since all your really need is support for PHP4 or 5..

In local everything works good. I don’t know why on web it doesn’t work…:(

I’m not able to give you more informations cause as soon as I go to the URI I get a 404 error.

Profile
 
 
Posted: 13 May 2007 01:56 PM   [ Ignore ]   [ # 3 ]  
Lab Assistant
RankRank
Total Posts:  128
Joined  04-06-2007

Who is the host?  Have you done any mod_rewrite stuff that could cause an issue?  You may need to adjust the uri_protocol setting in config, and you may need to put a ? after index.php and before /

Jim

Profile
 
 
Posted: 13 May 2007 03:21 PM   [ Ignore ]   [ # 4 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  737
Joined  10-18-2006

Is a windows server?

Try using index.php? as index_page

http:// www . domain . com / index.php ? /ecc..

 Signature 

Once in a while I remember I use Twitter

Profile
 
 
Posted: 13 May 2007 04:15 PM   [ Ignore ]   [ # 5 ]  
Grad Student
Rank
Total Posts:  36
Joined  04-17-2007
Seppo - 13 May 2007 03:21 PM

Is a windows server?

Try using index.php? as index_page

http:// www . domain . com / index.php ? /ecc..

That’s correct…=)

Thanks, I solved the problem using this .htaccess file:

RewriteEngine On
RewriteCond
%{REQUEST_FILENAME} !-f
RewriteCond
%{REQUEST_FILENAME} !-d
RewriteRule
^(.*)$ index.php?/$1 [L]
Profile
 
 
Posted: 13 May 2007 08:21 PM   [ Ignore ]   [ # 6 ]  
Lab Assistant
RankRank
Total Posts:  128
Joined  04-06-2007
Giacomo - 13 May 2007 04:15 PM
Seppo - 13 May 2007 03:21 PM

Is a windows server?

Try using index.php? as index_page

http:// www . domain . com / index.php ? /ecc..

That’s correct…=)

Thanks, I solved the problem using this .htaccess file:

RewriteEngine On
RewriteCond
%{REQUEST_FILENAME} !-f
RewriteCond
%{REQUEST_FILENAME} !-d
RewriteRule
^(.*)$ index.php?/$1 [L]

...

JAAulde - 13 May 2007 01:56 PM

...and you may need to put a ? after index.php and before /

smile  Heh heh…not only did I guess the problem, but that is my mod_rewrite setupsmile

Profile
 
 
Posted: 14 May 2007 02:52 AM   [ Ignore ]   [ # 7 ]  
Grad Student
Rank
Total Posts:  36
Joined  04-17-2007
JAAulde - 13 May 2007 08:21 PM

smile  Heh heh…not only did I guess the problem, but that is my mod_rewrite setupsmile

Yes, you were right, even if I don’t know which is the difference with question mark…:)

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 819, on March 11, 2010 11:15 AM
Total Registered Members: 120434 Total Logged-in Users: 46
Total Topics: 126527 Total Anonymous Users: 2
Total Replies: 665304 Total Guests: 391
Total Posts: 791831    
Members ( View Memberlist )