Welcome Guest, Not a member yet? Register   Sign In
.htaccess on wamp instead lamp
#1

[eluser]mradlmaier[/eluser]
I have a Codeigniter Project, which runs flawlessly on an openSuse 11.1 (also 11.0) Linux box, where I use to do development.
Now I have to setup that very same project on a wamp server, ;-(
I expected this to be a matter of copying over the files as these are both apache server.
Unfortunately it does not work that way.
I receive a 404 error when accessing on the wamp server.

My CI app is in:

C:/privat-chat-kontaktanzeigen/

That´s part of my httpd.conf on wamp:

Code:
LoadModule rewrite_module modules/mod_rewrite.so

<Directory />
    Options FollowSymLinks
    AllowOverride All
    Order deny,allow
    Deny from all
</Directory>

Alias /privat-chat-kontaktanzeigen/ "C:/privat-chat-kontaktanzeigen/"
<Directory "C:/privat-chat-kontaktanzeigen/">
AllowOverride FileInfo
Options Indexes FollowSymlinks
Allow from all
Order Allow,Deny
</Directory>

And that´s my .htaccess in C:/privat-chat-kontaktanzeigen/

Code:
RewriteEngine On
RewriteBase /privat-chat-kontaktanzeigen/
RewriteCond %{REQUEST_URI} ^system.*
RewriteRule ^(.*)$ /index.php/$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !^(index\.php|images|robots\.txt|css)
RewriteRule ^(.*)$ index.php/$1 [L]

Do I miss something? It has been a while, since I last time i did configuration of apache and ci.
As I said, on 3 different Linux boxes, this works (with the unix pathes obviously).

Does anybody have an idea?

BTW, access to

http://127.0.0.1/privat-chat-kontaktanze...ser_guide/

works on wamp, just not to

http://127.0.0.1/privat-chat-kontaktanzeigen/

Thanks,
Michael


Messages In This Thread
.htaccess on wamp instead lamp - by El Forum - 07-09-2009, 06:05 AM
.htaccess on wamp instead lamp - by El Forum - 07-09-2009, 07:05 AM
.htaccess on wamp instead lamp - by El Forum - 07-09-2009, 07:09 AM
.htaccess on wamp instead lamp - by El Forum - 07-09-2009, 07:40 AM
.htaccess on wamp instead lamp - by El Forum - 07-09-2009, 11:08 AM
.htaccess on wamp instead lamp - by El Forum - 07-09-2009, 12:01 PM
.htaccess on wamp instead lamp - by El Forum - 07-09-2009, 12:08 PM
.htaccess on wamp instead lamp - by El Forum - 07-09-2009, 01:22 PM
.htaccess on wamp instead lamp - by El Forum - 07-10-2009, 03:30 AM
.htaccess on wamp instead lamp - by El Forum - 07-10-2009, 05:20 AM
.htaccess on wamp instead lamp - by El Forum - 07-12-2009, 04:10 AM



Theme © iAndrew 2016 - Forum software by © MyBB