{"action":"created","issue":{"url":"https://api.github.com/repos/YOURLS/YOURLS/issues/1858","labels_url":"https://api.github.com/repos/YOURLS/YOURLS/issues/1858/labels{/name}","comments_url":"https://api.github.com/repos/YOURLS/YOURLS/issues/1858/comments","events_url":"https://api.github.com/repos/YOURLS/YOURLS/issues/1858/events","html_url":"https://github.com/YOURLS/YOURLS/issues/1858","id":59896776,"number":1858,"title":"404 on short urls","user":{"login":"shawneric","id":10674301,"avatar_url":"https://avatars.githubusercontent.com/u/10674301?v=3","gravatar_id":"","url":"https://api.github.com/users/shawneric","html_url":"https://github.com/shawneric","followers_url":"https://api.github.com/users/shawneric/followers","following_url":"https://api.github.com/users/shawneric/following{/other_user}","gists_url":"https://api.github.com/users/shawneric/gists{/gist_id}","starred_url":"https://api.github.com/users/shawneric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shawneric/subscriptions","organizations_url":"https://api.github.com/users/shawneric/orgs","repos_url":"https://api.github.com/users/shawneric/repos","events_url":"https://api.github.com/users/shawneric/events{/privacy}","received_events_url":"https://api.github.com/users/shawneric/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/YOURLS/YOURLS/labels/RTFM","name":"RTFM","color":"f7c6c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-03-05T02:43:01Z","updated_at":"2015-03-06T18:54:21Z","closed_at":null,"body":"First up I want to say that I have read over the wiki, I just don't see a solution for my issue. I've run my site in debug mode and everything does fine when creating the short url, I even see it in the database. What I'm having a problem with is that for some reason it's still not rerouting the url when I punch in the short url. I'll post below my config.php file. I'm thinking this might be a permission issue, but I'm not 100% certain of it.\r\n\r\nI am running this on a linode vps, Ubuntu 14.10.1. Mysql version: 5.5.41-0. Php 5.5.12-2ubuntu4.2 running on apache version 2.4.10.\r\n\r\n```php\r\n<?php\r\n/* This is a sample config file.\r\n * Edit this file with your own settings and save it as \"config.php\"\r\n */\r\n\r\n/*\r\n ** MySQL settings - You can get this info from your web host\r\n */\r\n\r\n/** MySQL database username */\r\ndefine( 'YOURLS_DB_USER', 'xdzDA' );\r\n\r\n/** MySQL database password */\r\ndefine( 'YOURLS_DB_PASS', 'gdfsgdfgdf' );\r\n\r\n/** The name of the database for YOURLS */\r\ndefine( 'YOURLS_DB_NAME', 'rfdsADsa' );\r\n\r\n/** MySQL hostname.\r\n ** If using a non standard port, specify it like 'hostname:port', eg. 'localhost:9999' or '127.0.0.1:666' */\r\ndefine( 'YOURLS_DB_HOST', 'localhost' );\r\n\r\n/** MySQL tables prefix */\r\ndefine( 'YOURLS_DB_PREFIX', 'yourls_' );\r\n\r\n/*\r\n ** Site options\r\n */\r\n\r\n/** YOURLS installation URL -- all lowercase and with no trailing slash.\r\n ** If you define it to \"http://site.com\", don't use \"http://www.site.com\" in your browser (and vice-versa) */\r\ndefine( 'YOURLS_SITE', 'http://slv.link/yourls/' );\r\n\r\n/** Timezone GMT offset */\r\ndefine( 'YOURLS_HOURS_OFFSET', '-5' ); \r\n\r\n/** YOURLS language or \"locale\".\r\n ** Change this setting to \"localize\" YOURLS (use a translation instead of the default English). A corresponding .mo file\r\n ** must be installed in the user/language directory.\r\n ** See http://yourls.org/translations for more information */\r\ndefine( 'YOURLS_LANG', '' ); \r\n\r\n/** Allow multiple short URLs for a same long URL\r\n ** Set to true to have only one pair of shortURL/longURL (default YOURLS behavior)\r\n ** Set to false to allow multiple short URLs pointing to the same long URL (bit.ly behavior) */\r\ndefine( 'YOURLS_UNIQUE_URLS', true );\r\n\r\n/** Private means the Admin area will be protected with login/pass as defined below.\r\n ** Set to false for public usage (eg on a restricted intranet or for test setups)\r\n ** Read http://yourls.org/privatepublic for more details if you're unsure */\r\ndefine( 'YOURLS_PRIVATE', true );\r\n\r\n/** A random secret hash used to encrypt cookies. You don't have to remember it, make it long and complicated. Hint: copy from http://yourls.org/cookie **/\r\ndefine( 'YOURLS_COOKIEKEY', 'dfsaetarsetyrew6yr4ta6t*' );\r\n\r\n/** Username(s) and password(s) allowed to access the site. Passwords either in plain text or as encrypted hashes\r\n ** YOURLS will auto encrypt plain text passwords in this file\r\n ** Read http://yourls.org/userpassword for more information */\r\n$yourls_user_passwords = array(\r\n\t'eric' => 'phpass:fdasfdsgfrewtradgraetre' /* Password encrypted by YOURLS */ ,\r\n\t'JoS' => 'phpass:fdatareateatasgftsdfer' /* Password encrypted by YOURLS */ \t// You can have one or more 'login'=>'password' lines\r\n\t);\r\n\r\n/** Debug mode to output some internal information\r\n ** Default is false for live site. Enable when coding or before submitting a new issue */\r\ndefine( 'YOURLS_DEBUG', true );\r\n\t\r\n/*\r\n ** URL Shortening settings\r\n */\r\n\r\n/** URL shortening method: 36 or 62 */\r\ndefine( 'YOURLS_URL_CONVERT', 36 );\r\n/*\r\n * 36: generates all lowercase keywords (ie: 13jkm)\r\n * 62: generates mixed case keywords (ie: 13jKm or 13JKm)\r\n * Stick to one setting. It's best not to change after you've started creating links.\r\n */\r\n\r\n/** \r\n* Reserved keywords (so that generated URLs won't match them)\r\n* Define here negative, unwanted or potentially misleading keywords.\r\n*/\r\n$yourls_reserved_URL = array(\r\n\t'porn', 'faggot', 'sex', 'nigger', 'fuck', 'cunt', 'dick', 'gay',\r\n);\r\n\r\n/*\r\n ** Personal settings would go after here.\r\n */\r\n```\r\n\r\nAlso, here is my .htaccess file as well:\r\n\r\n```apache\r\n# BEGIN YOURLS\r\n<IfModule mod_rewrite.c>\r\nRewriteEngine On\r\nRewriteBase /yourls/\r\nRewriteCond %{REQUEST_FILENAME} !-f\r\nRewriteCond %{REQUEST_FILENAME} !-d\r\nRewriteRule ^([0-9A-Za-z]+)/?$ /yourls/yourls-loader.php [L]\r\n</IfModule>\r\n# END YOURLS\r\n```"},"comment":{"url":"https://api.github.com/repos/YOURLS/YOURLS/issues/comments/77614098","html_url":"https://github.com/YOURLS/YOURLS/issues/1858#issuecomment-77614098","issue_url":"https://api.github.com/repos/YOURLS/YOURLS/issues/1858","id":77614098,"user":{"login":"ozh","id":223647,"avatar_url":"https://avatars.githubusercontent.com/u/223647?v=3","gravatar_id":"","url":"https://api.github.com/users/ozh","html_url":"https://github.com/ozh","followers_url":"https://api.github.com/users/ozh/followers","following_url":"https://api.github.com/users/ozh/following{/other_user}","gists_url":"https://api.github.com/users/ozh/gists{/gist_id}","starred_url":"https://api.github.com/users/ozh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ozh/subscriptions","organizations_url":"https://api.github.com/users/ozh/orgs","repos_url":"https://api.github.com/users/ozh/repos","events_url":"https://api.github.com/users/ozh/events{/privacy}","received_events_url":"https://api.github.com/users/ozh/received_events","type":"User","site_admin":false},"created_at":"2015-03-06T18:54:21Z","updated_at":"2015-03-06T18:54:21Z","body":"@shawneric: Do you have mod_rewrite enabled? If not, enable. If yes, I don't know.\r\n\r\n@vyskoczilova: then create the file. RTFM for how and what."}}