The Slim Framework support forum has moved to http://discourse.slimframework.com. This Tender forum is no longer maintained or monitored.

Slim on Sub Directory (www.test.com/sub/sub/)

ronaldmojica's Avatar

ronaldmojica

17 Oct, 2013 05:38 PM

Can i ask how can i work on this environment?

On my local development I'm doing it in the root like www.test.com but in my live site it will be under 2 sub directories.
I know the problem is the htaccess but I can't find the right way to do it.


RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.php [QSA,L]
  1. 1 Posted by David Rodger on 17 Oct, 2013 10:43 PM

    David Rodger's Avatar

    RewriteBase /sub/sub

  2. 2 Posted by ronaldmojica on 17 Oct, 2013 11:09 PM

    ronaldmojica's Avatar

    404 error

    I'm also trying it in my local but there's still an error:
    Here's my path:
    http://localhost/~mojics/rewardsapi

  3. 3 Posted by David Rodger on 18 Oct, 2013 12:46 PM

    David Rodger's Avatar

    Ah. You didn't say you were working on localhost or without a virtual host.

    I did a little experiment with angularjs recently fetching data from a Slim API. I didn't bother to create a vhost for it. Here's my .htaccess for it:

    RewriteEngine On
    RewriteBase /~david/angular/api
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^ index.php [QSA,L]
    
  4. 4 Posted by Anushka Jain on 06 Feb, 2015 07:54 AM

    Anushka Jain's Avatar

    You have made your ideas to use alternatives of one expert packers and shifting companies of your current town. In my perspective you have taken the right choice in regards to create your move easy.

    Packers and Movers Mumbai Charges or
    http://www.expert5th.in/packers-and-movers-mumbai/

    Packers and Movers Hyderabad Charges Or
    http://www.expert5th.in/packers-and-movers-hyderabad/

  5. 5 Posted by Anushka Jain on 06 Feb, 2015 07:55 AM

    Anushka Jain's Avatar

    But choosing the right, efficient and affordable shifting companies that will fit needs and price extensive range is also crucial. You must schedule your move with experienced shifting companies that are not only cost-effective but also reputed, experienced, secured and definitely match all your shifting needs and options. You must not schedule your move with an inexperienced or lowest amount shifting support of your town.

    Packers and Movers Bangalore Charges Or
    http://www.expert5th.in/packers-and-movers-bangalore/

    Packers and Movers Chennai Charges or
    http://www.expert5th.in/packers-and-movers-chennai/

  6. 6 Posted by Pinky Gupta on 09 Feb, 2015 12:43 PM

    Pinky Gupta's Avatar

    packers and movers pune prices or http://www.5th.co.in/packers-and-movers-pune/

    packers and movers bangalore prices or http://www.5th.co.in/packers-and-movers-bangalore/

    packers and movers gurgaon prices or http://www.5th.co.in/packers-and-movers-gurgaon/

  7. 7 Posted by sourabh on 10 Feb, 2015 11:37 AM

    sourabh's Avatar

    http://6packersandmovers.in/packers-and-movers-vijayawada/
    http://6packersandmovers.in/packers-and-movers-trivandrum/
    http://6packersandmovers.in/packers-and-movers-pondicherry/
    http://6packersandmovers.in/packers-and-movers-visakhapatnam/
    Eventually, the foremost effective packers additionally to movers within the industrial likewise gift amount solutions so as that you just tend to be protected con to nearly any accidents and conjointly breakages. Thus, take a while, study nicely, further as choose a business that you just may believe in.
    Unquestionably, specialist packers and conjointly movers support of us build the move from spot for a a distinct properly additionally to quickly. they'll facilitate build this relocating procedure hassle-free creating use of their tries and conjointly useful solutions. However, not several going companies tend to be nice. There square measure many fraudulence movers and conjointly packers which will be unfaithful the further as snare individuals at intervals transferring hoaxes. thus it's crucial to verify expertise involving relocating companies before choosing ordinarily the one. you may got to program shift exclusively that includes a real packers further as movers with relevancy hassle-free transferring experience. packers and movers Hyderabad

  8. 8 Posted by sourabh on 10 Feb, 2015 11:38 AM

    sourabh's Avatar

    http://6packersandmovers.in/packers-and-movers-madurai/
    http://6packersandmovers.in/packers-and-movers-trichy/
    http://6packersandmovers.in/packers-and-movers-coimbatore/
    http://6packersandmovers.in/packers-and-movers-cochin/
    However, practised movers along side packers acquire total obligation along side satisfaction within perform that they perform. These square measure honest, productive, reputable, and conjointly unremarkably have an excellent on {the web|the on-line|the net} additionally to not online name. the particular aged hands and wrists on the market have gotten sound recommendations to assist back once more all of them at constant time.

  9. 9 Posted by sourabh on 10 Feb, 2015 11:38 AM

    sourabh's Avatar

    http://6packersandmovers.in/packers-and-movers-chandigarh/
    http://6packersandmovers.in/packers-and-movers-amritsar/
    http://6packersandmovers.in/packers-and-movers-ludhiana/
    http://6packersandmovers.in/packers-and-movers-panchkula/
    Due to the actual fact, your competitors at intervals the shifting and conjointly packaging sector is really terribly powerful, many organizations could assure lots quite they may supply. Consequently, it can be some kind of wise press on to travel through along side contemplate the future contract completely, before obtaining the private where.

  10. 10 Posted by sourabh on 10 Feb, 2015 11:39 AM

    sourabh's Avatar

    http://6packersandmovers.in/packers-and-movers-mohali/
    http://6packersandmovers.in/packers-and-movers-jalandhar/
    • acquire revealed estimates along side expense estimations, so as that you just have gotten utter clearness however considerably mistreatment outlay.

    • ensure they need got all of the necessary tools for you to elevate up massive home article of furniture properly.

  11. 11 Posted by sourabh on 10 Feb, 2015 11:39 AM

    sourabh's Avatar

    • acquire revealed estimates along side expense estimations, so as that you just have gotten utter clearness however considerably mistreatment outlay.

    • ensure they need got all of the necessary tools for you to elevate up massive home article of furniture properly.
    http://6packersandmovers.in/packers-and-movers-mohali/
    http://6packersandmovers.in/packers-and-movers-jalandhar/

  12. 12 Posted by surendra on 11 Feb, 2015 05:30 AM

    surendra's Avatar
  13. 13 Posted by sonu on 11 Feb, 2015 01:40 PM

    sonu's Avatar

    Noida packers and movers
    http://www.noidapackers.co.in/

    Delhi packers and movers
    http://delhipackersmovers.asia/

  14. 14 Posted by sourabh on 14 Feb, 2015 06:04 AM

    sourabh's Avatar

    http://6packersandmovers.in/packers-and-movers-ahmedabad/
    http://6packersandmovers.in/packers-and-movers-surat/
    http://6packersandmovers.in/packers-and-movers-rajkot/
    http://6packersandmovers.in/packers-and-movers-vadodara/
    http://6packersandmovers.in/packers-and-movers-vijayawada/
    http://6packersandmovers.in/packers-and-movers-trivandrum/
    http://6packersandmovers.in/packers-and-movers-pondicherry/
    http://6packersandmovers.in/packers-and-movers-visakhapatnam/
    http://6packersandmovers.in/packers-and-movers-madurai/
    http://6packersandmovers.in/packers-and-movers-trichy/
    http://6packersandmovers.in/packers-and-movers-coimbatore/
    http://6packersandmovers.in/packers-and-movers-cochin/
    http://6packersandmovers.in/packers-and-movers-chandigarh/
    http://6packersandmovers.in/packers-and-movers-amritsar/
    http://6packersandmovers.in/packers-and-movers-ludhiana/
    http://6packersandmovers.in/packers-and-movers-panchkula/
    http://6packersandmovers.in/packers-and-movers-mohali/
    http://6packersandmovers.in/packers-and-movers-jalandhar/
    http://6packersandmovers.in/
    Skilled movers furthermore as packers Gurgaon targeted businesses likewise have automotive vehicle service & traveling solutions. These square measure qualified to produce all kinds additionally to merely regarding all designs related to cars and trucks furthermore as autos to handle in one destination to a special. They've already their specific notably developed navy related to automotive or truck corporations to carry autos collected from one in all spot for a a special firmly.

  15. 15 Posted by abhipmd1990 on 27 Feb, 2015 04:37 AM

    abhipmd1990's Avatar
  16. 16 Posted by chandansingh436... on 02 Mar, 2015 10:35 AM

    chandansingh436ets's Avatar

    It is best to group your own nearly all treasured goods along with important paperwork on your own always. In no way permit skilled packers to be able to wrap up the useful objects as well as crucial papers; including necklaces, activity collection, hobby mementos, heirlooms, photo photos, docs, accreditation, deeds, personal files, for example. These things should be stuffed along with carried out by simply you. Never ever fit such items within the travel car.

    Check out these helpful resources:

    http://best5th.in/packers-movers-gurgaon/

  17. 17 Posted by chandansingh436... on 02 Mar, 2015 10:40 AM

    chandansingh436ets's Avatar

    With The indian subcontinent folks wish to bring their particular lovable auto with their next desired destination. Car Vehicles Services inside India are generally very desired really well approach because of the individuals as well as this is why in the developing recognition of transportation near you. The majority of the relocators have car including automobile as well as cycle together, for this reason the item will become important on the part of the transferring business to supply the actual shipment program to automobiles at the same time. Carrying your vehicle to some faraway spot may not be an easy task; to try and do the idea within brilliance you will need the assistance of skilled transporters.

    Check out these helpful resources:

    http://best5th.in/packers-movers-delhi/

  18. 18 Posted by degas bolo on 14 Apr, 2015 08:32 PM

    degas bolo's Avatar

    If you bungle raising your children, I don't think whatever else you do well matters very much.

    Mothers hold their children's hands for a short while, but their hearts forever.

    for more information about this event have a look below...
    http://www.anzac-day2015.com
    http://www.whenismothersdayy2015.com
    http://www.happymothersdayimages2015.com

  19. 19 Posted by prince on 19 Jul, 2015 03:00 PM

    prince's Avatar
  20. 20 Posted by RobertBen on 21 Jul, 2015 02:31 PM

    RobertBen's Avatar

    Really enjoyed this forum topic.Really looking forward to read more. Cool. http://jtf7f86r5df68.tumblr.com/ - Stutz

  21. 21 Posted by kewahmedabad35 on 24 Aug, 2015 06:15 AM

    kewahmedabad35's Avatar
  22. 22 Posted by Best Web Design... on 21 Sep, 2015 10:48 AM

    Best Web Design India's Avatar

    Get your website design at lowest rate. Visit http://www.bestwebdesignindia.net/

  23. 23 Posted by Jitender Kaushi... on 25 Sep, 2015 01:06 PM

    Jitender Kaushik's Avatar
  24. 24 Posted by Manoj Sharma on 24 Oct, 2015 06:56 AM

    Manoj Sharma's Avatar

    Thanks for sharing this valuable and informative post
    http://www.parampackers.com/

  25. 25 Posted by sam on 03 Nov, 2015 12:52 PM

    sam's Avatar
  26. 26 Posted by new year 2016 on 05 Nov, 2015 02:21 PM

    new year 2016's Avatar

    It is a great article. You will surely like this also because it is a great stufff
    http://www.happynewyear2016-images.com
    http://www.felizanonuevo2016frases.com

  27. 27 Posted by Jigar Makwana on 07 Nov, 2015 09:21 AM

    Jigar Makwana's Avatar
  28. 28 Posted by detective servi... on 07 Nov, 2015 09:24 AM

    detective services in mumbai's Avatar

    Thanks for sharing valuable and informative post
    detective services in mumbai @ http://www.detectiveservicesinmumbai.com/

  29. 29 Posted by medo_scream on 16 Nov, 2015 08:10 PM

    medo_scream's Avatar
  30. 30 Posted by zorayax on 21 Nov, 2015 12:16 PM

    zorayax's Avatar

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac