![]() |
someone with linux can you test something for me?
I only have access to freebsd, want to see if this works on linux
Code:
httpd -S 2>&1 | perl -ne 'm@.*port\s+([0-9]+)\s+\w+\s+(\S+)\s+\((.+):.*@ && do { print "$2:$1\n\t$3\n"; $root = qx{grep DocumentRoot $3}; $root =~ s/^\s+//; print "\t$root\n" };' just let me know if it works. |
I dont use apache ;)
|
Quote:
|
Did not work on my linux boxes.
No output |
Why not install VM Virtual Box to have access to all?
|
Quote:
|
Output is different. You'll want to match against this:
port 80 namevhost domain.com (/etc/httpd/conf.d/domains.conf:3) |
All times are GMT -7. The time now is 06:13 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123