rovida Posted March 19 Posted March 19 Dear, I wrote my first banal script x.py but I am not able to make it work.... could you please help? Thanks Rovida #!/usr/bin/python3.10 print("Content-Type: text/html\n\n") print("Heliohost rules!")
wolstech Posted March 19 Posted March 19 Your cgi-bin folder's permissions were incorrect (should be 750, yours were 744), your x.py file had incorrect line endings (must be unix line endings, your file was of type none), and your .htaccess was invalid (Options +Indexes is not supported). The script is working now: http://rovida.helioho.st/cgi-bin/x.py
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now