url rewriting index.php on tests subdirectories |
Hi,
I use apache vhost parameters because htacces are not allowed on my server (the url rewriting for delete the index.php in the url works like a charm) My problem is on my releases-test subdirectories : before put my new release in production mode i have to test it on the server ex. for myappli.com my releases tests are here : myappli.com/releases/1.0.2 myappli.com/releases/1.0.3 ... the release version number change everytime I did not find the correct url rewriting for a parent subdirectory wich I don't know the name... In everything I tried, Once I have a CI 404, once I have a apache 404, once I have a 500 I want to have : /releases/???/index.php/controller/method/parameters -> /releases/???/controller/method/parameters Any help would be appreciated Thanks in advance
Hi,
maybe my message was not clear.. Sorry for my english, i'm french so I use an online traductor. I can clarify what points? (03-16-2016, 07:09 AM)CharlesĀ R Wrote: Hi, Hi Charles R im Carlos R jeje. Here you have an example about your issues for de url There are two possibilities , the first is to add the absolute path of our website redirect RewriteRule ^ (. *) $ Http : // localhost /trabajos/index.php/$1 [ L ] , this will do if our apache server does not have set up a virtual host. Or will RewriteRule ^ ( . *) $ /trabajos/index.php/$1 [ L ] in the opposite case . With this we obtain the server translates a URL like the following More info in my blog http://www.w3w3b.com/blog/noticia/config...-de-la-url |
Welcome Guest, Not a member yet? Register Sign In |