alias having trouble again

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello I am having trouble with alias I finally to got it to work on one instance for mytld.com/phpMyAdmin but now I am having trouble to get it to work again.

 

https://hydroponique.shop/opencart should be an alias but it is not keep in mind it is a totally different instance of Apache since it is run in a subsystem jail. Also note that I ended up copying the contents of opencart to the Document Root to see if I could advance my case further this way… but there was still another hold up…

 

so make sure you go to hydroponique.shop/opencart to see the File not found error…

 

root@hydroponique:/usr/local/www/opencart # ls -l

total 36

-rwxr-xr-x  1 www  www  2439 Aug 25  2021 .htaccess

drwxr-xr-x  6 www  www   512 May 27 22:39 admin

drwxr-xr-x  6 www  www   512 May 27 22:39 catalog

-rwxr-xr-x  1 www  www     0 Aug 25  2021 config.php

drwxr-xr-x  5 www  www   512 Aug 25  2021 image

-rwxr-xr-x  1 www  www   293 Aug 25  2021 index.php

drwxr-xr-x  6 www  www   512 May 27 22:39 install

-rwxr-xr-x  1 www  www   419 Jun  7 23:30 php.ini

-rwxr-xr-x  1 www  www   345 Aug 25  2021 robots.txt

drwxr-xr-x  7 www  www   512 May 27 22:39 system

root@hydroponique:/usr/local/www/opencart #

 

ScriptAlias /opencart /usr/local/www/opencart/

 

   AcceptPathInfo On

   <Directory /usr/local/www/opencart>

      AllowOverride All

      #AllowOverride Limit

      Require all granted

      Allow from all

   </Directory>

 

I tried it as Alias as well because this experience was slightly different in getting the php to work and I had to configure the reverse proxy for some reason I thought maybe that ScriptAlias would make it work nothing seems to make it work…

 

root@hydroponique:/usr/local/etc/apache24 # apachectl -t -D DUMP_MODULES

Loaded Modules:

core_module (static)

so_module (static)

http_module (static)

mpm_event_module (shared)

authn_file_module (shared)

authn_core_module (shared)

authz_host_module (shared)

authz_groupfile_module (shared)

authz_user_module (shared)

authz_core_module (shared)

authnz_fcgi_module (shared)

access_compat_module (shared)

auth_basic_module (shared)

socache_shmcb_module (shared)

reqtimeout_module (shared)

filter_module (shared)

xml2enc_module (shared)

proxy_html_module (shared)

mime_module (shared)

log_config_module (shared)

env_module (shared)

headers_module (shared)

setenvif_module (shared)

version_module (shared)

proxy_module (shared)

proxy_connect_module (shared)

proxy_http_module (shared)

proxy_fcgi_module (shared)

ssl_module (shared)

unixd_module (shared)

status_module (shared)

autoindex_module (shared)

dir_module (shared)

alias_module (shared)

rewrite_module (shared)

fcgid_module (shared)

fastcgi_module (shared)


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux