Skip to content

Instantly share code, notes, and snippets.

Zeno R.R. Davatz zdavatz

Block or report user

Report or block zdavatz

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@zdavatz
zdavatz / make mod_ruby MinGW Windows Vista
Created Feb 1, 2011
output of "make" mod_ruby on MinGW, Windows Vista
View make mod_ruby MinGW Windows Vista
C:\Users\zdavatz\software\mod_ruby>make
gcc -shared -o mod_ruby.so apache_cookie.o apache_multipart_buffer.o apache_request.o apachelib.o array_header.o bucket.o connection.o cookie.o error.o mod_ruby
.o multival.o paramtable.o request.o ruby_config.o ruby_shared_stub.o server.o table.o upload.o uri.o -L"C:\Apache2.2\lib" -L"C:\Ruby-1.8.6-oniguruma\lib" -llib
apr-1 -llibaprutil-1 -llibhttpd -lmsvcrt-ruby18
apache_request.o:apache_request.c:(.text+0x1815): undefined reference to `_imp__apr_month_snames'
apache_request.o:apache_request.c:(.text+0x1831): undefined reference to `_imp__apr_day_snames'
apachelib.o:apachelib.c:(.text+0x33a): undefined reference to `_imp__ap_server_root'
bucket.o:bucket.c:(.text+0x111): undefined reference to `_imp__apr_bucket_type_flush'
bucket.o:bucket.c:(.text+0x156): undefined reference to `_imp__apr_bucket_type_eos'
bucket.o:bucket.c:(.text+0x19b): undefined reference to `_imp__apr_bucket_type_file'
@zdavatz
zdavatz / DLL linkage against MinGW
Created Feb 3, 2011
Apache mod_ruby compile error with MinGW on Windows Vista
View DLL linkage against MinGW
apache_request.o:apache_request.c:(.text+0x1a1b): undefined reference to `_imp__apr_month_snames'
apache_request.o:apache_request.c:(.text+0x1a3f): undefined reference to `_imp__apr_day_snames'
apachelib.o:apachelib.c:(.text+0x33a): undefined reference to `_imp__ap_server_root'
bucket.o:bucket.c:(.text+0x111): undefined reference to `_imp__apr_bucket_type_flush'
bucket.o:bucket.c:(.text+0x156): undefined reference to `_imp__apr_bucket_type_eos'
bucket.o:bucket.c:(.text+0x19b): undefined reference to `_imp__apr_bucket_type_file'
@zdavatz
zdavatz / Makefile mod_ruby with MinGW for Windows Vista
Created Feb 3, 2011
Makefile mod_ruby with MinGW for Windows Vista
View Makefile mod_ruby with MinGW for Windows Vista
APACHE_ROOT=C:\Apache2.2
RUBY_ROOT=C:\Ruby-1.8.6-oniguruma
SRCS = \
apache_cookie.c \
apache_multipart_buffer.c \
apache_request.c \
apachelib.c \
array_header.c \
bucket.c \
connection.c \
View objdump -p libapr-1.a
Time/Date Thu Jan 01 01:00:00 1970
Magic 0000
MajorLinkerVersion 0
MinorLinkerVersion 0
SizeOfCode 00000000
SizeOfInitializedData 00000000
SizeOfUninitializedData 00000000
AddressOfEntryPoint 00000000
BaseOfCode 00000000
BaseOfData 00000000
@zdavatz
zdavatz / Makefile mod_ruby Windows Vista MinGW
Created Feb 7, 2011
Makefile mod_ruby Windows Vista MinGW
View Makefile mod_ruby Windows Vista MinGW
APACHE_ROOT=C:/Apache2.2
RUBY_ROOT=C:/Ruby-1.8.6-oniguruma
SRCS = \
apache_cookie.c \
apache_multipart_buffer.c \
apache_request.c \
apachelib.c \
array_header.c \
bucket.c \
connection.c \
@zdavatz
zdavatz / Makefile mod_ruby MinGW Apache for Windows
Created Feb 7, 2011
Makefile mod_ruby MinGW Apache for Windows
View Makefile mod_ruby MinGW Apache for Windows
APACHE_ROOT=C:/Apache2.2
RUBY_ROOT=C:/Ruby-1.8.6-oniguruma
SRCS = \
apache_cookie.c \
apache_multipart_buffer.c \
apache_request.c \
apachelib.c \
array_header.c \
bucket.c \
connection.c \
@zdavatz
zdavatz / httpd -M on Apache for Windows with mod_ruby.so
Created Feb 8, 2011
httpd -M on Apache for Windows with mod_ruby.so
View httpd -M on Apache for Windows with mod_ruby.so
C:\Users\zdavatz\software\apr>httpd -M
Loaded Modules:
core_module (static)
win32_module (static)
mpm_winnt_module (static)
http_module (static)
so_module (static)
actions_module (shared)
alias_module (shared)
asis_module (shared)
@zdavatz
zdavatz / "httpd -e debug" mod_ruby windows
Created Feb 8, 2011
httpd -e debug mod_ruby windows
View "httpd -e debug" mod_ruby windows
C:\Apache2.2\conf\extra>httpd -e debug
[Tue Feb 08 15:26:30 2011] [debug] mod_so.c(246): loaded module actions_module
[Tue Feb 08 15:26:30 2011] [debug] mod_so.c(246): loaded module alias_module
[Tue Feb 08 15:26:30 2011] [debug] mod_so.c(246): loaded module asis_module
[Tue Feb 08 15:26:30 2011] [debug] mod_so.c(246): loaded module auth_basic_module
[Tue Feb 08 15:26:30 2011] [debug] mod_so.c(246): loaded module authn_default_module
[Tue Feb 08 15:26:30 2011] [debug] mod_so.c(246): loaded module authn_file_module
[Tue Feb 08 15:26:30 2011] [debug] mod_so.c(246): loaded module authz_default_module
[Tue Feb 08 15:26:30 2011] [debug] mod_so.c(246): loaded module authz_groupfile_module
[Tue Feb 08 15:26:30 2011] [debug] mod_so.c(246): loaded module authz_host_module
@zdavatz
zdavatz / mod_ruby.conf Windows Apache 2.2.17
Created Feb 9, 2011
mod_ruby.conf Windows Apache 2.2.17 placed in C:\Apache2.2\conf\extra
View mod_ruby.conf Windows Apache 2.2.17
# Note: /usr/local/apache/libexec/mod_ruby.so is just an example.
# You should specify the correct path to mod_ruby.so.
LoadModule ruby_module modules/mod_ruby.so
# # If ClearModuleList is used in your httpd.conf, you should use AddModule
# # to activate the ruby module.
# AddModule mod_ruby.c
# If the ruby module is installed, this will be enabled.
<IfModule mod_ruby.c>
@zdavatz
zdavatz / gist:818519
Created Feb 9, 2011
httpd_vhosts.conf Apache 2.2.17 Windows mod_ruby in C:\Apache2.2\conf\extra
View gist:818519
NameVirtualHost *:80
<VirtualHost *:80>
ServerName de.oddb.win
DocumentRoot C:\Users\zdavatz\de.oddb.org\doc
DirectoryIndex index.rbx
RubyAddPath 'C:/Ruby-1.8.6-oniguruma/lib/ruby/gems/1.8/gems/de.oddb-2.0.0/lib'
RubyRequire 'sbsm/trans_handler'
SetHandler ruby-object
RubyTransHandler SBSM::ZoneTransHandler.instance
You can’t perform that action at this time.