ãä¸è©±ã«ãªã£ã¦ããã¾ãã ç¾å¨Apacheã®è¨å®ãè¡ã£ã¦ãã¾ãã CleanURLã«ããããã«ãRewriteEngineã使ç¨ãã¦å®ç¾ãããã¨ãã¦ãã¾ãã ä»åãµã¼ãã¼ã§ã¯PHPã使ç¨ãã¦ãã¾ãã httpd.confãç·¨éãã以ä¸ã®è¨å®ãç»é²ãã¦ããµã¼ãã¼ãåèµ·åæ¸ã¿ã§ãã <Directory "/var/www/html"> ##### ä¸ç¥ ##### RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}.php -f RewriteRule ^(.*)$ $1.php </Directory> ã¾ãããã¹ãã®ããã«ä»¥ä¸ã®ãããªURLã«ã¢ã¯ã»ã¹ãã¦ãhoge.phpã«æ¥ç¶ã§ãããã¨ã確èªãã¾ããã https://domain/hoge ã¤ãã«URLãå°ãå¤ãã¦æ¬¡ã®
{{#tags}}- {{label}}
{{/tags}}