Skip to content

Remove redundant .htaccess rule to allow apache access to public/vendor#1994

Merged
nabeelio merged 1 commit intophpvms:mainfrom
arthurpar06:fixPublicVendorAssets
Feb 14, 2025
Merged

Remove redundant .htaccess rule to allow apache access to public/vendor#1994
nabeelio merged 1 commit intophpvms:mainfrom
arthurpar06:fixPublicVendorAssets

Conversation

@arthurpar06
Copy link
Copy Markdown
Member

Okay, so basically, since we have a vendor folder at both the root and public levels, this rule in the .htaccess was preventing access to the vendor folder at the public level, which in turn blocked access to the LogViewer's assets.

This PR removes that rule, making it now possible for anyone using Apache to access the public/vendor folder. There's no risk of someone accessing the root vendor folder because there's a rule in the main .htaccess that redirects everything to /public.

A huge thanks to @FatihKoz for the help in testing this!

Closes #1992

Should be merged in both v7 and v8

@FatihKoz
Copy link
Copy Markdown
Contributor

FatihKoz commented Feb 8, 2025

Tested with document root defined as sub.domain.tld/public and sub.domain.tld separately.

@nabeelio nabeelio merged commit 074a962 into phpvms:main Feb 14, 2025
@arthurpar06 arthurpar06 deleted the fixPublicVendorAssets branch February 22, 2025 15:26
nabeelio pushed a commit that referenced this pull request Mar 13, 2025
nabeelio added a commit that referenced this pull request May 7, 2025
* Version output fixes (#1954)

* Set the label to be blank

* Fix how the version is parsed when there's no pre-release version specified

* Update the latest metadata

* Correctly output the build metadata

* Update the version file

* Version Tweaks

* Set the mode and incrementals

* Tweaks to version file

* fix: fix hcaptcha sitekey tag (#1979)

* [7.x] Add log viewer (#1972)a

* add opcodesio/log-viewer

* set up with custom permission

---------

Co-authored-by: Nabeel S. <[email protected]>

* Fix pint workflow (#1974)

* [7.x] Add `access_admin` gate (#1975)

* Add access_admin gate

* Add example in seven theme nav

* Add missing ',' in email-plain.blade.php (#1987)

* Update airport IDs/ICAOs to enforce 8-character format (#1988)

* Update airport IDs/ICAOs to 8 chars

* Add nullable (L11 support)

* Update FlightImporter.php (#1983)

* Fix module menu icon

* Update FlightImporter.php

Closes #1982 

Use `0` instead of `null` to follow the `setDays()` function and have a proper match for `firstorNew()`

---------

Co-authored-by: Nabeel S. <[email protected]>

* Register UpdateSimBriefData Listener (#1999)

* Update default activity log retention time (#2000)

* Merge commit from fork

* Optimize JournalRepository (#2007)

* Remove vendor from .htaccess (#1994)

* Move policies

* update guessPolicyNamesUsing

* wip

* Run pint

* Fixes float -> int overflow problem in certain systems.

Fixes float -> int overflow problem in certain systems.

* Add Refresh Token System for OAuth Tokens (#1997)

* Add OAuthTokens refresh logic

* Add tests

* Run pint

* Update IVAO tokens policy

* Update tests

---------

Co-authored-by: Nabeel S. <[email protected]>

* Aircraft's FIN should be unique (#2015)

* Add Pre-Commit Hooks (#1993)

* Add pre commit hooks

* Fix hooks registration

* Fix hooks permissions

* Test pre commit hooks

* Update pint workflow

---------

Co-authored-by: Nabeel S. <[email protected]>

* Update PirepFiled.php (#2036)

Do not load relationships of the `pirep` model while using it for notifications.

* Update Notification (PirepFiled) (#2036)

* Update PirepFiled.php

Do not load relationships of the `pirep` model while using it for notifications.

* Update NotificationEventsHandler.php

Add `->withoutRelations()` call to outgoing mails

---------

Co-authored-by: Nabeel S. <[email protected]>

* Merge branch 'feature/8.0' (#2041)

* Run rector

* Run rector

* update packages

* refactor RolePolicy

---------

Co-authored-by: Nabeel S. <[email protected]>
Co-authored-by: Arthur Hetem <[email protected]>
Co-authored-by: B.Fatih KOZ <[email protected]>
Co-authored-by: Nabeel S. <[email protected]>
Co-authored-by: Taylor Broad <[email protected]>
Co-authored-by: Fikret Anıl Haksever <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7.0.3 release - app.css failed to load when loading log viewer

3 participants