php - Nginx location configuration (subfolders) - Stack Overflow (https://cdn.sstatic.net/Sites/stackoverflow/Img/favicon.ico?v=ec617d715196) (https://cdn.sstatic.net/Sites/stackoverflow/Img/apple-touch-icon.png?v=c78bd457575a) (https://cdn.sstatic.net/Sites/stackoverflow/Img/apple-touch-icon.png?v=c78bd457575a) (Stack Overflow) (/opensearch.xml) (https://stackoverflow.com/questions/42443468/nginx-location-configuration-subfolders) (https://cdn.sstatic.net/Shared/stacks.css?v=d6a266655a25) (https://cdn.sstatic.net/Sites/stackoverflow/primary.css?v=22fb2cb11723) (Feed for question 'Nginx location configuration (subfolders)') (/feeds/question/42443468) (https://cdn.sstatic.net/Shared/Channels/channels.css?v=5981bb1a5bd7) (https://accounts.google.com/gsi/style) (site logo) Join Stack Overflow By clicking “Sign up”, you agree to our (/legal/terms-of-service/public) terms of service and acknowledge you have read our (/legal/privacy-policy) privacy policy . (45fdb50b82cf09e3c22aa1697ef5a8ee0b8a220472cd062937b14b656f99cff0) (1) (2.0) Sign up with Google Sign up with GitHub OR (45fdb50b82cf09e3c22aa1697ef5a8ee0b8a220472cd062937b14b656f99cff0) (1) () () () () () () Email Password (8+ characters (at least 1 letter & 1 number)) Sign up Already have an account? (/users/login) Log in (45fdb50b82cf09e3c22aa1697ef5a8ee0b8a220472cd062937b14b656f99cff0) () Skip to main content (https://stackoverflow.com) Stack Overflow (https://stackoverflow.co/) About Products (https://stackoverflow.co/teams/ai/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav-bar&utm_content=overflowai) OverflowAI (https://stackoverflow.co/teams/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=stack-overflow-for-teams) Stack Overflow for Teams Where developers & technologists share private knowledge with coworkers (https://stackoverflow.co/advertising/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=stack-overflow-advertising) Advertising & Talent Reach devs & technologists worldwide about your product, service or employer brand (https://stackoverflow.co/teams/ai/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=overflow-ai) OverflowAI GenAI features for Teams (https://stackoverflow.co/api-solutions/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=overflow-api) OverflowAPI Train & fine-tune LLMs (https://stackoverflow.co/labs/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=labs) Labs The future of collective knowledge sharing (https://stackoverflow.co/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=about-the-company) About the company (https://stackoverflow.blog/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=blog) Visit the blog (Search…) () Loading… (https://stackoverflow.com) current community (https://stackoverflow.com) (Stack Overflow) Stack Overflow (https://stackoverflow.com/help) help (https://chat.stackoverflow.com/?tab=site&host=stackoverflow.com) chat (https://meta.stackoverflow.com) (Meta Stack Overflow) Meta Stack Overflow your communities (https://stackoverflow.com/users/signup?ssrc=site_switcher&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f42443468%2fnginx-location-configuration-subfolders) Sign up or (https://stackoverflow.com/users/login?ssrc=site_switcher&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f42443468%2fnginx-location-configuration-subfolders) log in to customize your list. (https://stackexchange.com/sites) more stack exchange communities (https://stackoverflow.blog) company blog (Click to show search) (https://stackoverflow.com/users/login?ssrc=head&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f42443468%2fnginx-location-configuration-subfolders) Log in (https://stackoverflow.com/users/signup?ssrc=head&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f42443468%2fnginx-location-configuration-subfolders) Sign up Let's set up your homepage Select a few topics you're interested in: python javascript c# reactjs java android html flutter c++ node.js typescript css r php angular next.js spring-boot machine-learning sql excel ios azure docker Or search from our full list: (Search) javascript python java c# php android html jquery c++ css ios sql mysql r reactjs node.js arrays c asp.net json python-3.x .net ruby-on-rails sql-server swift django angular objective-c excel pandas angularjs regex typescript ruby linux ajax iphone vba xml laravel spring asp.net-mvc database wordpress string flutter postgresql mongodb wpf windows amazon-web-services xcode bash git oracle-database spring-boot dataframe azure firebase list multithreading docker vb.net react-native eclipse algorithm powershell macos visual-studio numpy image forms scala function vue.js performance twitter-bootstrap selenium winforms kotlin loops express dart hibernate sqlite matlab python-2.7 shell rest apache entity-framework android-studio csv maven linq qt dictionary unit-testing asp.net-core facebook apache-spark tensorflow file swing class unity-game-engine sorting date authentication go symfony t-sql opencv matplotlib .htaccess google-chrome for-loop datetime codeigniter http perl validation sockets google-maps object uitableview xaml oop if-statement visual-studio-code cordova ubuntu web-services email android-layout github spring-mvc elasticsearch kubernetes selenium-webdriver ms-access user-interface parsing ggplot2 pointers google-sheets machine-learning c++11 security google-apps-script flask ruby-on-rails-3 templates nginx variables exception sql-server-2008 gradle debugging tkinter listview delphi jpa asynchronous web-scraping pdf haskell jsp ssl amazon-s3 google-cloud-platform jenkins testing xamarin wcf npm batch-file generics ionic-framework network-programming unix recursion google-app-engine mongoose visual-studio-2010 .net-core android-fragments assembly animation math next.js svg session hadoop intellij-idea curl django-models rust join winapi laravel-5 url heroku http-redirect tomcat google-cloud-firestore inheritance webpack keras image-processing gcc asp.net-mvc-4 logging dom swiftui web matrix pyspark actionscript-3 button post optimization firebase-realtime-database jquery-ui iis cocoa xpath d3.js javafx firefox internet-explorer xslt caching select asp.net-mvc-3 opengl events asp.net-web-api plot dplyr encryption magento search stored-procedures amazon-ec2 ruby-on-rails-4 memory audio canvas multidimensional-array jsf random vector redux cookies input facebook-graph-api flash xamarin.forms indexing arraylist ipad cocoa-touch data-structures video model-view-controller apache-kafka serialization jdbc woocommerce azure-devops routes razor awk servlets mod-rewrite beautifulsoup excel-formula docker-compose filter iframe aws-lambda design-patterns text django-rest-framework visual-c++ cakephp mobile android-intent react-hooks struct methods groovy mvvm ssh lambda checkbox ecmascript-6 google-chrome-extension time grails installation sharepoint cmake shiny spring-security jakarta-ee android-recyclerview plsql core-data types meteor android-activity sed bootstrap-4 websocket activerecord graph replace scikit-learn file-upload group-by vim junit boost deep-learning sass import memory-management error-handling async-await eloquent dynamic soap silverlight dependency-injection charts layout apache-spark-sql deployment browser gridview svn while-loop google-bigquery vuejs2 ffmpeg dll highcharts view foreach plugins makefile c#-4.0 redis reporting-services jupyter-notebook merge server unicode https reflection google-maps-api-3 twitter oauth-2.0 extjs pytorch axios terminal pip split cmd mysqli encoding django-views database-design automation collections hash netbeans build data-binding ember.js tcp sqlalchemy pdo apache-flex concurrency entity-framework-core command-line spring-data-jpa printing java-8 react-redux jestjs html-table service neo4j lua ansible material-ui parameters module enums flexbox visual-studio-2012 promise outlook firebase-authentication webview web-applications uwp jquery-mobile utf-8 datatable python-requests parallel-processing drop-down-menu colors scroll hive scipy tfs count syntax ms-word twitter-bootstrap-3 ssis google-analytics fonts three.js rxjs powerbi constructor graphql file-io paypal discord cassandra socket.io graphics compiler-errors gwt react-router solr nlp url-rewriting backbone.js memory-leaks datatables oauth terraform datagridview drupal oracle11g zend-framework neural-network knockout.js triggers django-forms interface google-api angular-material casting jmeter linked-list path proxy timer django-templates arduino directory orm parse-platform windows-phone-7 visual-studio-2015 cron push-notification conditional-statements primefaces functional-programming pagination model jar xamarin.android hyperlink uiview gitlab visual-studio-2013 vbscript google-cloud-functions azure-active-directory jwt download swift3 sql-server-2005 configuration process rspec pygame properties combobox callback windows-phone-8 linux-kernel safari scrapy permissions raspberry-pi scripting emacs clojure x86 scope io compilation mongodb-query responsive-design nhibernate expo angularjs-directive azure-functions request bluetooth dns 3d binding reference architecture playframework discord.js version-control pyqt doctrine-orm package get rubygems sql-server-2012 f# autocomplete openssl datepicker kendo-ui tree jackson controller yii nested grep xamarin.ios static dockerfile statistics null transactions pycharm datagrid active-directory uiviewcontroller webforms phpmyadmin discord.py notifications sas computer-vision duplicates mocking youtube nullpointerexception yaml menu sum bitmap blazor electron asp.net-mvc-5 visual-studio-2008 time-series yii2 jsf-2 css-selectors stl android-listview floating-point cryptography ant stream hashmap character-encoding msbuild sdk asp.net-core-mvc google-drive-api selenium-chromedriver jboss joomla cors navigation devise anaconda background camera multiprocessing binary pyqt5 cuda frontend linq-to-sql iterator mariadb onclick plotly ios7 rabbitmq android-jetpack-compose android-asynctask microsoft-graph-api tabs insert laravel-4 uicollectionview environment-variables amazon-dynamodb linker xsd console coldfusion upload continuous-integration ftp textview opengl-es vuejs3 operating-system mockito macros localization formatting xml-parsing json.net type-conversion kivy data.table timestamp calendar integer segmentation-fault android-ndk drag-and-drop prolog char crash jasmine automated-tests dependencies geometry android-gradle-plugin itext firebase-cloud-messaging header fortran sprite-kit mfc attributes nuxt.js azure-pipelines nosql format nestjs odoo db2 jquery-plugins jenkins-pipeline leaflet event-handling flutter-layout annotations postman julia keyboard textbox arm visual-studio-2017 gulp libgdx stripe-payments synchronization xampp timezone crystal-reports dom-events uikit azure-web-app-service android-emulator wso2 swagger sequelize.js namespaces uiscrollview aggregation-framework jvm google-sheets-formula chart.js com subprocess geolocation webdriver centos snowflake-cloud-data-platform html5-canvas garbage-collection widget dialog numbers concatenation sql-update qml set tuples windows-10 mapreduce java-stream smtp ionic2 rotation modal-dialog spring-data android-edittext http-headers doctrine nuget radio-button sonarqube grid lucene xmlhttprequest internationalization listbox initialization switch-statement components google-play apache-camel boolean serial-port ldap ios5 gdb youtube-api return latex pivot eclipse-plugin frameworks tags containers github-actions dataset asp-classic subquery foreign-keys label c++17 copy uinavigationcontroller delegates google-cloud-storage struts2 migration base64 protractor embedded find sql-server-2008-r2 queue uibutton arguments composer-php append jaxb zip stack cucumber autolayout ide entity-framework-6 popup iteration tailwind-css airflow windows-7 r-markdown ssl-certificate vb6 gmail hover jqgrid g++ range udp Next You’ll be prompted to create an account to view your personalized homepage. (/) Home (/questions) Questions (/tags) Tags (/beta/discussions) Discussions Labs (https://chat.stackoverflow.com/?tab=all&sort=active) Chat (/users) Users (/jobs?source=so-left-nav) Jobs (https://stackoverflow.com/jobs/companies?so_medium=stackoverflow&so_source=SiteNav) Companies Collectives Communities for your favorite technologies. (/collectives-all) Explore all Collectives Teams () Ask questions, find answers and collaborate at work with Stack Overflow for Teams. (https://stackoverflowteams.com/teams/create/free/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=side-bar&utm_content=explore-teams) Try Teams for free (https://stackoverflow.co/teams/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=side-bar&utm_content=explore-teams) Explore Teams Teams Ask questions, find answers and collaborate at work with Stack Overflow for Teams. (https://stackoverflow.co/teams/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=side-bar&utm_content=explore-teams-compact) Explore Teams Collectives™ on Stack Overflow Find centralized, trusted content and collaborate around the technologies you use most. (/collectives) Learn more about Collectives Teams Q&A for work Connect and share knowledge within a single location that is structured and easy to search. (https://stackoverflow.co/teams/) Learn more about Teams (Illustration of upvote icon after it is clicked) Hang on, you can't upvote just yet. You'll need to complete a few actions and gain 15 reputation points before being able to upvote. Upvoting indicates when questions and answers are useful. (https://stackoverflow.com/help/whats-reputation) What's reputation and how do I get it? Instead, you can save this post to reference later. Save this post for later Not now (Illustration of upvote icon after it is clicked) Hang on, you can't downvote just yet. You'll need to complete a few actions and gain 125 reputation points before being able to downvote. Casting downvotes indicate issues with quality, effort, or accuracay of a post. (https://stackoverflow.com/help/whats-reputation) What's reputation and how do I get it? Instead, you can try suggesting an edit to improve the post. Suggest edit No thanks (https://cdn.sstatic.net/Sites/stackoverflow/Img/apple-touch-icon.png?v=c78bd457575a) (/questions/42443468/nginx-location-configuration-subfolders) Nginx location configuration (subfolders) (/questions/ask) Ask Question (2017-02-24 16:21:29Z) Asked 8 years, 1 month ago Modified (?lastactivity) (2021-06-27 06:54:31Z) 3 years, 9 months ago (Viewed 96,684 times) Viewed 97k times Part of (/collectives/php) PHP Collective This question shows research effort; it is useful and clear (70:3:31e,16:48196cc764009ca0,10:1745163157,16:b70350d3c5660a5b,8:42443468,012818f606d39f309b36848ab4049025ef82d667a11d83f3aba445b523f89e56) 29 (This question does not show any research effort; it is unclear or not useful) (70:3:31e,16:13911ba9b56c2717,10:1745163157,16:d58a5669b637b0aa,8:42443468,ca74033b5b193c0ad239280329ca418550233e4eae30bc421fd9a23a331c4762) Save this question. (/posts/42443468/timeline) Show activity on this post. lets say I've a path like: /var /www/myside/ that path contains two folders... let's say /static and /manage I'd like to configure nginx to have an access to: /static folder on / (eg. (http://example.org/) http://example.org/ ) this folder has some .html files. /manage folder on /manage (eg. (http://example.org/manage) http://example.org/manage ) in this case this folder contains Slim's PHP framework code - that means the index.php file is in public subfolder (eg. /var/www/mysite/manage/public/index.php) I've tried a lot of combinations such as server { listen 80 ; server_name example.org; error_log /usr/local/etc/nginx/logs/mysite/error.log; access_log /usr/local/etc/nginx/logs/mysite/access.log; root /var /www/mysite; location /manage { root $uri /manage/public ; try_files $uri /index.php$is _args$args ; } location / { root $uri /static /; index index.html; } location ~ \.php { try_files $uri =404 ; fastcgi_split_path_info ^(.+\.php)(/.+)$; include fastcgi_params; fastcgi_param SCRIPT_FILENAME $document _root$fastcgi_script_name ; fastcgi_param SCRIPT_NAME $fastcgi_script_name ; fastcgi_index index.php; fastcgi_pass 127.0 .0.1 :9000 ; } } The / works correctly anyway manage doesn't. Am I doing something wrong? Does anybody know what should I change? Matthew. (/collectives/php) PHP Collective (/questions/tagged/php) (show questions tagged 'php') php (/questions/tagged/http) (show questions tagged 'http') http (/questions/tagged/nginx) (show questions tagged 'nginx') nginx (/questions/tagged/server) (show questions tagged 'server') server (/questions/tagged/slim) (show questions tagged 'slim') slim (/q/42443468) (Short permalink to this question) Share Share a link to this question Copy link (https://creativecommons.org/licenses/by-sa/4.0/) (The current license for this post: CC BY-SA 4.0) CC BY-SA 4.0 (/posts/42443468/edit) () Improve this question Follow (70:3:31e,16:7bf1d9963c41cd9d,10:1745163157,16:834b58cc26d40de1,8:42443468,cb8aca17cf05f02c5b1db1c13265d256b10c6740fb3a2427b9f68b744d587a2d) Follow this question to receive notifications (/posts/42443468/revisions) (show all edits to this post) edited (2020-11-15 05:55:36Z) Nov 15, 2020 at 5:55 (/users/7159076/shahabphp) (shahabphp's user avatar) (/users/7159076/shahabphp) shahabphp (reputation score) 379 (1 gold badge) 1 1 gold badge (2 silver badges) 2 2 silver badges (10 bronze badges) 10 10 bronze badges asked (2017-02-24 16:21:29Z) Feb 24, 2017 at 16:21 (/users/4565401/nubzor) (Nubzor's user avatar) (/users/4565401/nubzor) Nubzor Nubzor (reputation score) 522 (1 gold badge) 1 1 gold badge (6 silver badges) 6 6 silver badges (14 bronze badges) 14 14 bronze badges 2 I don't think root $uri/(directory); will work, will it? Surely that would come out to some odd, like root /manage/manage/public , not what you want. Or am I misinterpreting what $uri does? – (/users/3397227/bytewave) (597 reputation) Bytewave Commented (2017-02-24 18:08:16Z, License: CC BY-SA 3.0) Feb 24, 2017 at 18:08 @Bytewave well yea, you're absolutely right it won't work. That's one of milion combinations that I've already tried :) Let's assume that there isn't $uri but /var/www/mysite/manage/public and /var/www/mysite/static - anyways it doesn't work. – (/users/4565401/nubzor) (522 reputation) Nubzor Commented (2017-02-25 17:36:44Z, License: CC BY-SA 3.0) Feb 25, 2017 at 17:36 (Use comments to ask for more information or suggest improvements. Avoid answering questions in comments.) Add a comment | (Expand to show all comments on this post) 1 Answer 1 Sorted by: (/questions/42443468/nginx-location-configuration-subfolders?answertab=scoredesc#tab-top) Reset to default (scoredesc) Highest score (default) (trending) Trending (recent votes count more) (modifieddesc) Date modified (newest first) (createdasc) Date created (oldest first) This answer is useful (70:3:31e,16:08bf4be25c0278a2,10:1745163157,16:55f993b5417f0efa,8:42467562,ce5fdaab0b1639e16e4de0acc7ad38224e57f3a2c98d0b72796a0cb9779fd9cb) 40 (This answer is not useful) (70:3:31e,16:7a4799b5a29b0afe,10:1745163157,16:cf9a5a1912c1683f,8:42467562,6fc4a1c66c8cd8717646b6926a6fd0cf18f4f76f3c3fb1b55a1c836d75b8f640) Save this answer. (Loading when this answer was accepted…) (/posts/42467562/timeline) Show activity on this post. To access a path like /var/www/mysite/manage/public with a URI like /manage , you will need to use alias rather than root . See (http://nginx.org/en/docs/http/ngx_http_core_module.html#alias) this document for details. I am assuming that you need to run PHP from both roots, in which case you will need two location ~ \.php blocks, see example below. If you have no PHP within /var/www/mysite/static , you can delete the unused location block. For example: server { listen 80 ; server_name example.org; error_log /usr/local/etc/nginx/logs/mysite/error.log; access_log /usr/local/etc/nginx/logs/mysite/access.log; root /var /www/mysite/static ; index index.html; location / { } location ~ \.php$ { try_files $uri =404 ; fastcgi_pass 127.0 .0.1 :9000 ; include fastcgi_params; fastcgi_param SCRIPT_FILENAME $request_filename ; fastcgi_param SCRIPT_NAME $fastcgi_script_name ; } location ^~ /manage { alias /var /www/mysite/manage/public ; index index.php; if (!-e $request_filename ) { rewrite ^ /manage/index.php last; } location ~ \.php$ { if (!-f $request_filename ) { return 404 ; } fastcgi_pass 127.0 .0.1 :9000 ; include fastcgi_params; fastcgi_param SCRIPT_FILENAME $request_filename ; fastcgi_param SCRIPT_NAME $fastcgi_script_name ; } } } The ^~ modifier causes the prefix location to take precedence over regular expression locations at the same level. See (http://nginx.org/en/docs/http/ngx_http_core_module.html#location) this document for details. The alias and try_files directives are not together due to (https://trac.nginx.org/nginx/ticket/97) this long standing bug . Be aware of (https://www.nginx.com/resources/wiki/start/topics/depth/ifisevil/) this caution in the use of the if directive. (/a/42467562) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/3.0/) (The current license for this post: CC BY-SA 3.0) CC BY-SA 3.0 (/posts/42467562/edit) () Improve this answer Follow (70:3:31e,16:ec8f901b0045bedf,10:1745163157,16:e9314dacdcbf1732,8:42467562,da132dc751b560332dff7248d970cdc865c451f7f1c41ddf25e709b80088d2d1) Follow this answer to receive notifications answered (2017-02-26 10:52:34Z) Feb 26, 2017 at 10:52 (/users/4862445/richard-smith) (Richard Smith's user avatar) (/users/4862445/richard-smith) Richard Smith Richard Smith (reputation score 49,987) 50k (7 gold badges) 7 7 gold badges (95 silver badges) 95 95 silver badges (95 bronze badges) 95 95 bronze badges 2 (number of 'useful comment' votes received) 1 You have multiple (https://www.nginx.com/resources/wiki/start/topics/tutorials/config_pitfalls/) Common mistakes and Pitfalls in your example – (/users/1713660/vladkras) (17,235 reputation) vladkras Commented (2017-03-31 11:07:02Z, License: CC BY-SA 3.0) Mar 31, 2017 at 11:07 (number of 'useful comment' votes received) 4 @vladkras such as? – (/users/4862445/richard-smith) (49,987 reputation) Richard Smith Commented (2017-03-31 13:08:42Z, License: CC BY-SA 3.0) Mar 31, 2017 at 13:08 (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) (42443468) (false) () (0) Your Answer (True) Thanks for contributing an answer to Stack Overflow! Please be sure to answer the question . Provide details and share your research! But avoid … Asking for help, clarification, or responding to other answers. Making statements based on opinion; back them up with references or personal experience. To learn more, see our (/help/how-to-answer) tips on writing great answers . Draft saved Draft discarded (45fdb50b82cf09e3c22aa1697ef5a8ee0b8a220472cd062937b14b656f99cff0) Sign up or (/users/login?ssrc=question_page&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f42443468%2fnginx-location-configuration-subfolders%23new-answer) log in Sign up using Google Sign up using Email and Password (false) (false) Submit Post as a guest Name () () Email Required, but never shown () () Post as a guest Name () () Email Required, but never shown () () Post Your Answer Discard By clicking “Post Your Answer”, you agree to our (https://stackoverflow.com/legal/terms-of-service/public) terms of service and acknowledge you have read our (https://stackoverflow.com/legal/privacy-policy) privacy policy .(1) Start asking to get answers Find the answer to your question by asking. (/questions/ask) Ask question Explore related questions (/questions/tagged/php) (show questions tagged 'php') php (/questions/tagged/http) (show questions tagged 'http') http (/questions/tagged/nginx) (show questions tagged 'nginx') nginx (/questions/tagged/server) (show questions tagged 'server') server (/questions/tagged/slim) (show questions tagged 'slim') slim See similar questions with these tags. (/collectives/php/beta/discussions) PHP Collective Join the discussion (/collectives) This question is in a collective: a subcommunity defined by tags with relevant content and experts. The Overflow Blog (https://stackoverflow.blog/2025/04/17/wait-what-is-agentic-ai/?cb=1) Wait, what is agentic AI? (https://stackoverflow.blog/2025/04/18/generating-components-not-tokens/?cb=1) Generating components, not tokens Featured on Meta (Meta Stack Exchange) (https://meta.stackexchange.com/questions/407927/changes-to-reporting-for-the-status-review-escalation-process?cb=1) Changes to reporting for the [status-review] escalation process (Meta Stack Overflow) (https://meta.stackoverflow.com/questions/433466/a-discussion-about-closed-and-potentially-useful-posts-on-stack-overflow?cb=1) A discussion about closed (and potentially useful) posts on Stack Overflow (Meta Stack Overflow) (https://meta.stackoverflow.com/questions/421831/policy-generative-ai-e-g-chatgpt-is-banned?cb=1) Policy: Generative AI (e.g., ChatGPT) is banned Linked (https://stackoverflow.com/q/58804156?lq=1) (Question score (upvotes - downvotes)) 0 (https://stackoverflow.com/questions/58804156/nginx-location-giving-404-error-even-though-the-directory-exists?noredirect=1&lq=1) NGINX location giving 404 error, even though the directory exists (https://stackoverflow.com/q/58699850?lq=1) (Question score (upvotes - downvotes)) 1 (https://stackoverflow.com/questions/58699850/rundeck-with-other-site-on-nginx-other-site-is-php?noredirect=1&lq=1) Rundeck with other site on nginx, other site is php (https://stackoverflow.com/q/62561867?lq=1) (Question score (upvotes - downvotes)) 0 (https://stackoverflow.com/questions/62561867/serve-php-app-from-particular-uri-using-nginx-php-fpm-primary-script-unknown?noredirect=1&lq=1) Serve PHP App from Particular URI Using Nginx + php-fpm: "Primary script unknown" Error (https://stackoverflow.com/q/62906711?lq=1) (Question score (upvotes - downvotes)) 1 (https://stackoverflow.com/questions/62906711/nginx-redirect-from-subdirectory-to-root-with-slim-api-framework?noredirect=1&lq=1) NGINX redirect from subdirectory to root with Slim API framework (https://stackoverflow.com/q/67443278?lq=1) (Question score (upvotes - downvotes)) 1 (https://stackoverflow.com/questions/67443278/nginx-404-not-found-for-php-files?noredirect=1&lq=1) nginx 404 Not Found for php files (https://stackoverflow.com/q/59769172?lq=1) (Question score (upvotes - downvotes)) 0 (https://stackoverflow.com/questions/59769172/nginx-custom-root-for-certain-addresses?noredirect=1&lq=1) nginx custom root for certain addresses (https://stackoverflow.com/q/72269734?lq=1) (Question score (upvotes - downvotes)) 0 (https://stackoverflow.com/questions/72269734/laravel-nginx-root-directory-based-on-path?noredirect=1&lq=1) Laravel - Nginx, Root Directory Based on path (https://stackoverflow.com/q/76540689?lq=1) (Question score (upvotes - downvotes)) 0 (https://stackoverflow.com/questions/76540689/wordpress-accessible-from-and-symfony-from-my-other-site?noredirect=1&lq=1) Wordpress accessible from / and Symfony from /my-other-site/ (https://stackoverflow.com/q/67399000?lq=1) (Question score (upvotes - downvotes)) 0 (https://stackoverflow.com/questions/67399000/nginx-different-root-for-certain-paths?noredirect=1&lq=1) NGINX - Different root for certain paths (https://stackoverflow.com/q/66154133?lq=1) (Question score (upvotes - downvotes)) 0 (https://stackoverflow.com/questions/66154133/how-to-run-craftcms-in-subfolder-with-nginx?noredirect=1&lq=1) How to run CraftCMS in subfolder with Nginx (https://stackoverflow.com/questions/linked/42443468?lq=1) See more linked questions Related (https://stackoverflow.com/q/11990295?rq=3) (Question score (upvotes - downvotes)) 1 (https://stackoverflow.com/questions/11990295/nginx-with-php-in-one-subdirectory?rq=3) Nginx with php in one subdirectory (https://stackoverflow.com/q/16068800?rq=3) (Question score (upvotes - downvotes)) 1 (https://stackoverflow.com/questions/16068800/nginx-configuration-for-magento-running-in-subfolder?rq=3) Nginx configuration for Magento running in subfolder (https://stackoverflow.com/q/18549235?rq=3) (Question score (upvotes - downvotes)) 0 (https://stackoverflow.com/questions/18549235/magento-nginx-subdirectory-multistore?rq=3) Magento / Nginx - subdirectory multistore (https://stackoverflow.com/q/19142004?rq=3) (Question score (upvotes - downvotes)) 5 (https://stackoverflow.com/questions/19142004/nginx-magento-in-subfolder?rq=3) Nginx + Magento in subfolder (https://stackoverflow.com/q/23723137?rq=3) (Question score (upvotes - downvotes)) 2 (https://stackoverflow.com/questions/23723137/nginx-different-root-in-locations?rq=3) Nginx different root in locations (https://stackoverflow.com/q/24328628?rq=3) (Question score (upvotes - downvotes)) 2 (https://stackoverflow.com/questions/24328628/nginx-php-fpm-subdirectory?rq=3) Nginx php-fpm subdirectory (https://stackoverflow.com/q/31473025?rq=3) (Question score (upvotes - downvotes)) 1 (https://stackoverflow.com/questions/31473025/nginx-locations-and-nested-slim-indexes?rq=3) Nginx locations and nested Slim indexes (https://stackoverflow.com/q/42607189?rq=3) (Question score (upvotes - downvotes)) 0 (https://stackoverflow.com/questions/42607189/nginx-subfolder-as-location?rq=3) Nginx subfolder as location (https://stackoverflow.com/q/47319049?rq=3) (Question score (upvotes - downvotes)) 3 (https://stackoverflow.com/questions/47319049/nginx-subdirectory-root-with-php?rq=3) Nginx subdirectory root with PHP (https://stackoverflow.com/q/69465068?rq=3) (Question score (upvotes - downvotes)) 2 (https://stackoverflow.com/questions/69465068/how-to-set-subfolder-in-nginx?rq=3) How to set subfolder in nginx (https://stackexchange.com/questions?tab=hot) Hot Network Questions (Unix & Linux Stack Exchange) (https://unix.stackexchange.com/questions/793888/fork-causes-dma-buffer-in-physical-memory-to-retain-stale-data-on-subsequent-w) fork() Causes DMA Buffer in Physical Memory to Retain Stale Data on Subsequent Writes (Mathematics Stack Exchange) (https://math.stackexchange.com/questions/5057757/conditional-expectation-and-independence) Conditional Expectation and Independence (Unix & Linux Stack Exchange) (https://unix.stackexchange.com/questions/793896/why-cant-i-merge-folders-by-renaming-one-of-them) Why can't I merge folders by renaming one of them? (Bicycles Stack Exchange) (https://bicycles.stackexchange.com/questions/96610/what-gives-the-best-pedal-assist-control-for-an-electric-bike) What gives the best pedal-assist control for an electric bike? (Physics Stack Exchange) (https://physics.stackexchange.com/questions/848053/sabine-hossenfelder-and-the-meaning-of-acceleration) Sabine Hossenfelder and the meaning of acceleration (Cross Validated) (https://stats.stackexchange.com/questions/664418/determining-best-mixed-effects-model-for-the-prediction-of-ordinal-data-from-a) Determining best mixed effects model for the prediction of ordinal data, from a continuous non-normally distributed variable (TeX - LaTeX Stack Exchange) (https://tex.stackexchange.com/questions/741093/how-to-achieve-a-ragged-right-text-that-alternates-longer-and-shorter-lines-symm) How to achieve a ragged-right text that alternates longer and shorter lines symmetrically? (English Language & Usage Stack Exchange) (https://english.stackexchange.com/questions/630953/nothing-much-happened-is-much-an-adverb-here) "Nothing much happened." — Is "much" an adverb here? (TeX - LaTeX Stack Exchange) (https://tex.stackexchange.com/questions/741136/why-does-unicode-math-and-mathastext-interact-badly) Why does unicode-math and mathastext interact badly? (History of Science and Mathematics Stack Exchange) (https://hsm.stackexchange.com/questions/18486/e-du-chatelet-asserted-that-light-must-be-massless-is-her-reasoning-known) E. du Chatelet asserted that light must be massless -- is her reasoning known? (Worldbuilding Stack Exchange) (https://worldbuilding.stackexchange.com/questions/265965/could-a-society-develop-modern-computers-circa-2020s-without-having-invented-o) Could a society develop modern computers (circa 2020s) without having invented or needing the internet? (Biblical Hermeneutics Stack Exchange) (https://hermeneutics.stackexchange.com/questions/103464/what-is-the-commandment-in-keep-the-commandment-without-fault-or-reproach-in) What is the commandment in "Keep the commandment without fault or reproach", in 1 Timothy 6:14? (Personal Finance & Money Stack Exchange) (https://money.stackexchange.com/questions/165848/are-these-carfax-items-red-flags-when-buying-used-car-from-a-dealer) Are these carfax items red flags when buying used car from a dealer? (Cross Validated) (https://stats.stackexchange.com/questions/664420/symmetry-requirement-in-wilcoxon-test) Symmetry requirement in Wilcoxon test (Gardening & Landscaping Stack Exchange) (https://gardening.stackexchange.com/questions/67902/can-i-grow-tobacco-plants-safely-next-to-tomato-plants) Can I grow tobacco plants safely next to tomato plants (Cryptography Stack Exchange) (https://crypto.stackexchange.com/questions/114847/viablity-of-cprngs-constructed-from-simple-number-fields) Viablity of CPRNG's constructed from simple number fields (TeX - LaTeX Stack Exchange) (https://tex.stackexchange.com/questions/741121/inkscape-adds-serifs) inkscape adds serifs (Aviation Stack Exchange) (https://aviation.stackexchange.com/questions/108405/why-do-the-current-google-maps-pictures-for-heathrow-not-show-a-single-plane-at) Why do the current Google Maps pictures for Heathrow not show a single plane at any of the terminals? (Mathematics Stack Exchange) (https://math.stackexchange.com/questions/5057874/definition-of-a-percentile) Definition of a percentile (Motor Vehicle Maintenance & Repair Stack Exchange) (https://mechanics.stackexchange.com/questions/98886/ford-focus-steering-noise) Ford Focus steering noise (Space Exploration Stack Exchange) (https://space.stackexchange.com/questions/68255/is-the-large-size-of-the-antennae-on-orion-satellites-primarily-for-signal-stren) Is the large size of the antennae on Orion satellites primarily for signal strength or for angular resolution? (Role-playing Games Stack Exchange) (https://rpg.stackexchange.com/questions/215296/how-does-feign-death-interact-with-spells-that-target-only-objects) How does Feign Death interact with spells that target only objects? (Electrical Engineering Stack Exchange) (https://electronics.stackexchange.com/questions/744308/debounce-pushbutton-on-fpga-by-using-two-d-flip-flop) Debounce pushbutton on FPGA by using two D Flip Flop (Worldbuilding Stack Exchange) (https://worldbuilding.stackexchange.com/questions/265958/what-can-cause-a-phalanx-shieldwall-to-drift-left-wards) What can cause a phalanx/shieldwall to drift left-wards (/feeds/question/42443468) (Feed of this question and its answers) Question feed Subscribe to RSS Question feed To subscribe to this RSS feed, copy and paste this URL into your RSS reader. (https://stackoverflow.com/feeds/question/42443468) () lang-php (https://stackoverflow.com) (https://stackoverflow.com) Stack Overflow (/questions) Questions (/help) Help (https://chat.stackoverflow.com/?tab=site&host=stackoverflow.com) Chat (https://stackoverflow.co/) Products (https://stackoverflow.co/teams/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=footer&utm_content=teams) Teams (https://stackoverflow.co/advertising/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=footer&utm_content=advertising) Advertising (https://stackoverflow.co/advertising/employer-branding/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=footer&utm_content=talent) Talent (https://stackoverflow.co/) Company (https://stackoverflow.co/) About (https://stackoverflow.co/company/press/) Press (https://stackoverflow.co/company/work-here/) Work Here (https://stackoverflow.com/legal) Legal (https://stackoverflow.com/legal/privacy-policy) Privacy Policy (https://stackoverflow.com/legal/terms-of-service/public) Terms of Service (/contact) Contact Us Your Privacy Choices (https://stackoverflow.com/legal/cookie-policy) Cookie Policy (https://stackexchange.com) Stack Exchange Network (https://stackexchange.com/sites#technology) Technology (https://stackexchange.com/sites#culturerecreation) Culture & recreation (https://stackexchange.com/sites#lifearts) Life & arts (https://stackexchange.com/sites#science) Science (https://stackexchange.com/sites#professional) Professional (https://stackexchange.com/sites#business) Business (https://api.stackexchange.com/) API (https://data.stackexchange.com/) Data (https://stackoverflow.blog?blb=1) Blog (https://www.facebook.com/officialstackoverflow/) Facebook (https://twitter.com/stackoverflow) Twitter (https://linkedin.com/company/stack-overflow) LinkedIn (https://www.instagram.com/thestackoverflow) Instagram Site design / logo © 2025 Stack Exchange Inc; user contributions licensed under (https://stackoverflow.com/help/licensing) CC BY-SA . rev 2025.4.17.25340