Ask coding questions

← Back to all posts
Does htaccess work in PHP repls?
KadenBlox (7)

Does .htaccess work in replit, specifically PHP Web Server REPLS, if it doesn't please let me know any known workarounds!

Answered by InvisibleOne (3191) [earned 5 cycles]
View Answer
InvisibleOne (3191)

Last I heard it didn't, but I believe that you can use .env files, just look for the secrets tab on the left side of your repl editor.

KadenBlox (7)

@InvisibleOne .ENV tab store enviroment variables, i know that but thanks!