Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Admin login page links redirect back to login page

by Don Coyote (Hermit)
on Jan 05, 2021 at 13:26 UTC ( [id://11126368]=note: print w/replies, xml ) Need Help??


in reply to Admin login page links redirect back to login page

Hello yedsai.

Can't say I have ever seen a landing page with a .pl file extension before, so that is a little ominous from the getgo. Not to say it is wrong, just unusual. I would expect either a .cgi or .*ml extension at that path.

I am currently attempting to determine whether any user should be landing at any path involving cgi-bin, as opposed to a .index extension at the Public_Html directory. Though I don't seem to be able to set permissions such that any user should not be allowed access the cgi-bin path whilst also allowing the website to work as normal.

I am definetly interested in the outcome of this one.

Replies are listed 'Best First'.
Re^2: Admin login page links redirect back to login page
by Your Mother (Archbishop) on Jan 05, 2021 at 15:20 UTC

    .pl isn’t completely unusual. Extensions for web apps are just a matter of configuration—telling the webserver which extensions to execute—or application routing—setting your app to do something based on any valid URI path. They are convenient in the FS but should never be trusted–

    mv pwnMachine.exe kitten.jpg

      Your Mother, of course, in the last few days I have been doing some admin at my webhost and up popped some .pl extensions, followed by key=value params. Thereby instantly contradicting myself. Not meaning to go OT from the main question, as I have similar niggles with understanding how to approach my $worktime interfaces.

      Most likely it is a configuration issue, but then we like to look at where is the line between what is the issue in terms of being perl related. Server configuration is not necessarily a perl issue in of itself, but at least in regards to transcribing web documents, being part of a community that can share the info is almost, if not as, important.

      Regarding the code snippet you provide here. I think this is one of the things that might help progression with learning the language, just saw Coding in Perl? What support do you need? as I logged. That is, miniature examples of the kind of security issues that we would rather not unintentionally reproduce. But now I am going ot.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11126368]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-03-28 10:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found