Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.

Welcome, Guest
Guest Settings

Thread: How to get Apache Module Path in Linux - Tokyo

This question is not answered. Helpful answers available: 2. Correct answers available: 1.

Permlink Replies: 0 Threads: [ Previous | Next ]
Md. Shariful Al...

Posts: 70
Registered: 9/9/01
How to get Apache Module Path in Linux - Tokyo  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Dec 15, 2017 1:45 PM
I need to get Apache Module path in Linux. In Windows there is a API GetModuleFileName along with following functions:
function GetModuleName: string;
szFileName: array[0..MAX_PATH] of Char;
FillChar(szFileName, SizeOf(szFileName), #0);
GetModuleFileName(hInstance, szFileName, MAX_PATH);
Result := szFileName;

function GetModulePath: string;
Result := ExtractFilePath(GetModuleName) + PathDelim;

How can I get path in Linux?
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02